[SCM] libav/experimental: move private context declaration at the top

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:55:23 UTC 2013


The following commit has been merged in the experimental branch:
commit e4e8632aaf0d04145fc7133c271adbbbaefbc652
Author: Baptiste Coudurier <baptiste.coudurier at gmail.com>
Date:   Wed Dec 2 21:01:12 2009 +0000

    move private context declaration at the top
    
    Originally committed as revision 20707 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/gif.c b/libavcodec/gif.c
index c3ec3a9..00a1bf4 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;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list