diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2009-01-13 08:00:37 +0000 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2009-01-13 08:00:37 +0000 |
commit | 34f3f6d1299103d0dbf04c12d3638dc8f522a38b (patch) | |
tree | 2ae0ca7c56e3e4d13f36f1b7b0fd7fe5f8d54bfd /libavcodec | |
parent | d94b1f12c534427f45d1000e45e9d2922fa03134 (diff) | |
download | ffmpeg-34f3f6d1299103d0dbf04c12d3638dc8f522a38b.tar.gz |
Cinepak strip ID is a single byte
Originally committed as revision 16575 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/cinepak.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/cinepak.c b/libavcodec/cinepak.c index 78ddde2eb9..57a9fa56b6 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]); |