Mercurial > libavcodec.hg
changeset 10626:099e9b33c1b9 libavcodec
move private context declaration at the top
author | bcoudurier |
---|---|
date | Wed, 02 Dec 2009 21:01:12 +0000 |
parents | 328e2a3171d2 |
children | 3c7adb462b65 |
files | gif.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/gif.c Wed Dec 02 20:07:23 2009 +0000 +++ b/gif.c Wed Dec 02 21:01:12 2009 +0000 @@ -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 @@ return 0; } -typedef struct { - AVFrame picture; -} GIFContext; - static av_cold int gif_encode_init(AVCodecContext *avctx) { GIFContext *s = avctx->priv_data;