OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46b0049
)
indeo2: init_get_bits size in bits instead of bytes
author
Alex Converse
<alex.converse@gmail.com>
Fri, 9 Sep 2011 20:24:19 +0000
(13:24 -0700)
committer
Alex Converse
<alex.converse@gmail.com>
Fri, 9 Sep 2011 22:01:00 +0000
(15:01 -0700)
libavcodec/indeo2.c
patch
|
blob
|
history
diff --git
a/libavcodec/indeo2.c
b/libavcodec/indeo2.c
index
d059988
..
591c1ce
100644
(file)
--- a/
libavcodec/indeo2.c
+++ b/
libavcodec/indeo2.c
@@
-165,7
+165,7
@@
static int ir2_decode_frame(AVCodecContext *avctx,
#endif
start = 48; /* hardcoded for now */
- init_get_bits(&s->gb, buf + start,
buf_size - start
);
+ init_get_bits(&s->gb, buf + start,
(buf_size - start) * 8
);
if (s->decode_delta) { /* intraframe */
ir2_decode_plane(s, avctx->width, avctx->height,