aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil
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
parent7f9f771eac0d37a632e0ed9bd89961d57fcfb7e0 (diff)
downloadffmpeg-bf704132a51f5d838365158331d4e535e1df4c8e.tar.gz
Don't anonymously typedef structs
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/file.c2
-rw-r--r--libavutil/parseutils.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/libavutil/file.c b/libavutil/file.c
index d2765b8490..18a110aeeb 100644
--- a/libavutil/file.c
+++ b/libavutil/file.c
@@ -35,7 +35,7 @@
#include <windows.h>
#endif
-typedef struct {
+typedef struct FileLogContext {
const AVClass *class;
int log_offset;
void *log_ctx;
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;