mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-12 18:10:13 +01:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user