From daf8cf358a098a903d59adb6c0d0cc3262a8c93e Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Mon, 22 Sep 2014 09:19:33 +0200 Subject: avformat: Don't anonymously typedef structs --- libavformat/gif.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavformat/gif.c') 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 */ -- cgit v1.2.3