diff options
author | Alex Converse <alex.converse@gmail.com> | 2011-09-09 13:24:19 -0700 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-09-21 18:00:54 +0200 |
commit | 09cfd6f5974fa1bd13b34443f45e28e690585783 (patch) | |
tree | b5ae853722da83e07265e2c54933f08f434d1fbd | |
parent | b2af83a9ed35f3a9d4f7c2a16f12fa3edd40ec5f (diff) | |
download | ffmpeg-09cfd6f5974fa1bd13b34443f45e28e690585783.tar.gz |
indeo2: init_get_bits size in bits instead of bytes
(cherry picked from commit 68ca330cbd479111db9cb7649d7530ad59f04cc8)
-rw-r--r-- | libavcodec/indeo2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/indeo2.c b/libavcodec/indeo2.c index f58804bab3..510f4da01e 100644 --- a/libavcodec/indeo2.c +++ b/libavcodec/indeo2.c @@ -162,7 +162,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, |