diff options
author | Diego Biurrun <diego@biurrun.de> | 2014-09-22 09:19:33 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2015-02-14 10:13:47 -0800 |
commit | daf8cf358a098a903d59adb6c0d0cc3262a8c93e (patch) | |
tree | a2390c7f51907470675321b25221c28ab6093616 /libavformat/gif.c | |
parent | 7769be590c7aeb2aad26ca723d105cf5203e33d2 (diff) | |
download | ffmpeg-daf8cf358a098a903d59adb6c0d0cc3262a8c93e.tar.gz |
avformat: Don't anonymously typedef structs
Diffstat (limited to 'libavformat/gif.c')
-rw-r--r-- | libavformat/gif.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/gif.c b/libavformat/gif.c index 085c2e03fc..ddec778d82 100644 --- a/libavformat/gif.c +++ b/libavformat/gif.c @@ -58,7 +58,7 @@ * (byte 19) in the app_header */ #define GIF_ADD_APP_HEADER // required to enable looping of animated gif -typedef struct { +typedef struct rgb_triplet { unsigned char r; unsigned char g; unsigned char b; @@ -253,7 +253,7 @@ static int gif_image_write_image(AVIOContext *pb, return 0; } -typedef struct { +typedef struct GIFContext { AVClass *class; /** Class for private options. */ int64_t time, file_time; uint8_t buffer[100]; /* data chunks */ |