[SCM] libav/experimental: Cinepak strip ID is a single byte

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:35:12 UTC 2013


The following commit has been merged in the experimental branch:
commit 34f3f6d1299103d0dbf04c12d3638dc8f522a38b
Author: Kostya Shishkov <kostya.shishkov at gmail.com>
Date:   Tue Jan 13 08:00:37 2009 +0000

    Cinepak strip ID is a single byte
    
    Originally committed as revision 16575 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/cinepak.c b/libavcodec/cinepak.c
index 78ddde2..57a9fa5 100644
--- a/libavcodec/cinepak.c
+++ b/libavcodec/cinepak.c
@@ -358,7 +358,7 @@ static int cinepak_decode (CinepakContext *s)
         if ((s->data + 12) > eod)
             return -1;
 
-        s->strips[i].id = AV_RB16 (s->data);
+        s->strips[i].id = s->data[0];
         s->strips[i].y1 = y0;
         s->strips[i].x1 = 0;
         s->strips[i].y2 = y0 + AV_RB16 (&s->data[8]);

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list