[FFmpeg-cvslog] r20707 - trunk/libavcodec/gif.c

bcoudurier subversion
Wed Dec 2 22:01:12 CET 2009


Author: bcoudurier
Date: Wed Dec  2 22:01:12 2009
New Revision: 20707

Log:
move private context declaration at the top

Modified:
   trunk/libavcodec/gif.c

Modified: trunk/libavcodec/gif.c
==============================================================================
--- trunk/libavcodec/gif.c	Wed Dec  2 21:07:23 2009	(r20706)
+++ trunk/libavcodec/gif.c	Wed Dec  2 22:01:12 2009	(r20707)
@@ -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
     return 0;
 }
 
-typedef struct {
-    AVFrame picture;
-} GIFContext;
-
 static av_cold int gif_encode_init(AVCodecContext *avctx)
 {
     GIFContext *s = avctx->priv_data;



More information about the ffmpeg-cvslog mailing list