changeset 8581:c8d93b8559fe libavcodec

Cinepak strip ID is a single byte
author kostya
date Tue, 13 Jan 2009 08:00:37 +0000
parents 144ddb6a597c
children 2624a270ef12
files cinepak.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/cinepak.c	Tue Jan 13 06:43:46 2009 +0000
+++ b/cinepak.c	Tue Jan 13 08:00:37 2009 +0000
@@ -358,7 +358,7 @@
         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]);