move private context declaration at the top
Originally committed as revision 20707 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
c267bb038e
commit
e4e8632aaf
@ -53,6 +53,10 @@
|
|||||||
/* bitstream minipacket size */
|
/* bitstream minipacket size */
|
||||||
#define GIF_CHUNKS 100
|
#define GIF_CHUNKS 100
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
AVFrame picture;
|
||||||
|
} GIFContext;
|
||||||
|
|
||||||
/* GIF header */
|
/* GIF header */
|
||||||
static int gif_image_write_header(uint8_t **bytestream,
|
static int gif_image_write_header(uint8_t **bytestream,
|
||||||
int width, int height,
|
int width, int height,
|
||||||
@ -138,10 +142,6 @@ static int gif_image_write_image(uint8_t **bytestream,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
typedef struct {
|
|
||||||
AVFrame picture;
|
|
||||||
} GIFContext;
|
|
||||||
|
|
||||||
static av_cold int gif_encode_init(AVCodecContext *avctx)
|
static av_cold int gif_encode_init(AVCodecContext *avctx)
|
||||||
{
|
{
|
||||||
GIFContext *s = avctx->priv_data;
|
GIFContext *s = avctx->priv_data;
|
||||||
|
Loading…
Reference in New Issue
Block a user