Merge commit 'bf704132a51f5d838365158331d4e535e1df4c8e'

* commit 'bf704132a51f5d838365158331d4e535e1df4c8e':
  Don't anonymously typedef structs

Conflicts:
	avprobe.c
	libavutil/parseutils.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer
2015-02-14 21:27:26 +01:00
3 changed files with 8 additions and 8 deletions

View File

@@ -62,12 +62,12 @@ int av_parse_ratio(AVRational *q, const char *str, int max,
return 0;
}
typedef struct {
typedef struct VideoSizeAbbr {
const char *abbr;
int width, height;
} VideoSizeAbbr;
typedef struct {
typedef struct VideoRateAbbr {
const char *abbr;
AVRational rate;
} VideoRateAbbr;
@@ -186,7 +186,7 @@ int av_parse_video_rate(AVRational *rate, const char *arg)
return 0;
}
typedef struct {
typedef struct ColorEntry {
const char *name; ///< a string representing the name of the color
uint8_t rgb_color[3]; ///< RGB values for the color
} ColorEntry;