projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d94b1f1
)
Cinepak strip ID is a single byte
author
Kostya Shishkov
<kostya.shishkov@gmail.com>
Tue, 13 Jan 2009 08:00:37 +0000
(08:00 +0000)
committer
Kostya Shishkov
<kostya.shishkov@gmail.com>
Tue, 13 Jan 2009 08:00:37 +0000
(08:00 +0000)
Originally committed as revision 16575 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/cinepak.c
patch
|
blob
|
history
diff --git
a/libavcodec/cinepak.c
b/libavcodec/cinepak.c
index
78ddde2
..
57a9fa5
100644
(file)
--- 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]);