[FFmpeg-cvslog] r16575 - trunk/libavcodec/cinepak.c

kostya subversion
Tue Jan 13 09:00:37 CET 2009


Author: kostya
Date: Tue Jan 13 09:00:37 2009
New Revision: 16575

Log:
Cinepak strip ID is a single byte

Modified:
   trunk/libavcodec/cinepak.c

Modified: trunk/libavcodec/cinepak.c
==============================================================================
--- trunk/libavcodec/cinepak.c	Tue Jan 13 07:43:46 2009	(r16574)
+++ trunk/libavcodec/cinepak.c	Tue Jan 13 09:00:37 2009	(r16575)
@@ -358,7 +358,7 @@ static int cinepak_decode (CinepakContex
         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]);




More information about the ffmpeg-cvslog mailing list