summaryrefslogtreecommitdiff
path: root/libavutil/parseutils.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2014-09-22 11:02:13 +0200
committerDiego Biurrun <diego@biurrun.de>2015-02-14 10:13:49 -0800
commitbf704132a51f5d838365158331d4e535e1df4c8e (patch)
treecbfb2367f3fb49a6d4f122659a62d650833dfb35 /libavutil/parseutils.c
parent7f9f771eac0d37a632e0ed9bd89961d57fcfb7e0 (diff)
Don't anonymously typedef structs
Diffstat (limited to 'libavutil/parseutils.c')
-rw-r--r--libavutil/parseutils.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavutil/parseutils.c b/libavutil/parseutils.c
index 1ca0086adf..4ae47ee250 100644
--- a/libavutil/parseutils.c
+++ b/libavutil/parseutils.c
@@ -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;