projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c267bb0
)
move private context declaration at the top
author
Baptiste Coudurier
<baptiste.coudurier@gmail.com>
Wed, 2 Dec 2009 21:01:12 +0000
(21:01 +0000)
committer
Baptiste Coudurier
<baptiste.coudurier@gmail.com>
Wed, 2 Dec 2009 21:01:12 +0000
(21:01 +0000)
Originally committed as revision 20707 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/gif.c
patch
|
blob
|
history
diff --git
a/libavcodec/gif.c
b/libavcodec/gif.c
index
c3ec3a9
..
00a1bf4
100644
(file)
--- 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;