mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-13 10:30:05 +01:00
Don't anonymously typedef structs
This commit is contained in:
@@ -32,12 +32,12 @@
|
||||
#include "time_internal.h"
|
||||
#include "parseutils.h"
|
||||
|
||||
typedef struct {
|
||||
typedef struct VideoSizeAbbr {
|
||||
const char *abbr;
|
||||
int width, height;
|
||||
} VideoSizeAbbr;
|
||||
|
||||
typedef struct {
|
||||
typedef struct VideoRateAbbr {
|
||||
const char *abbr;
|
||||
AVRational rate;
|
||||
} VideoRateAbbr;
|
||||
@@ -143,7 +143,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