# HG changeset patch # User kostya # Date 1231833637 0 # Node ID c8d93b8559fe5b4affeb96fb38f1a0b08c57ea45 # Parent 144ddb6a597c45dda4b6dfc9ed937cdc9361c37a Cinepak strip ID is a single byte diff -r 144ddb6a597c -r c8d93b8559fe cinepak.c --- 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]);