summaryrefslogtreecommitdiff
path: root/libavformat/gif.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2014-09-22 09:19:33 +0200
committerDiego Biurrun <diego@biurrun.de>2015-02-14 10:13:47 -0800
commitdaf8cf358a098a903d59adb6c0d0cc3262a8c93e (patch)
treea2390c7f51907470675321b25221c28ab6093616 /libavformat/gif.c
parent7769be590c7aeb2aad26ca723d105cf5203e33d2 (diff)
avformat: Don't anonymously typedef structs
Diffstat (limited to 'libavformat/gif.c')
-rw-r--r--libavformat/gif.c4
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 */