diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-12-03 00:01:12 +0300 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-12-03 00:01:12 +0300 |
commit | e4e8632aaf0d04145fc7133c271adbbbaefbc652 (patch) | |
tree | 9f8c57785fa7b17c109dee44cd19f07902af07cc /libavcodec/gif.c | |
parent | c267bb038e8fe4db0a33837ae7364b73a3193d1f (diff) |
move private context declaration at the top
Originally committed as revision 20707 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/gif.c')
-rw-r--r-- | libavcodec/gif.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/gif.c b/libavcodec/gif.c index c3ec3a9838..00a1bf4cc1 100644 --- a/libavcodec/gif.c +++ b/libavcodec/gif.c @@ -53,6 +53,10 @@ /* bitstream minipacket size */ #define GIF_CHUNKS 100 +typedef struct { + AVFrame picture; +} GIFContext; + /* GIF header */ static int gif_image_write_header(uint8_t **bytestream, int width, int height, @@ -138,10 +142,6 @@ static int gif_image_write_image(uint8_t **bytestream, return 0; } -typedef struct { - AVFrame picture; -} GIFContext; - static av_cold int gif_encode_init(AVCodecContext *avctx) { GIFContext *s = avctx->priv_data; |