diff options
author | Alex Converse <alex.converse@gmail.com> | 2011-09-09 13:24:19 -0700 |
---|---|---|
committer | Alex Converse <alex.converse@gmail.com> | 2011-09-09 15:01:00 -0700 |
commit | 68ca330cbd479111db9cb7649d7530ad59f04cc8 (patch) | |
tree | ab9e545ee9c71bffe2d6aa72f992136d8bf396f1 | |
parent | 46b004959bb7870a361a57272cd5fa7eea34250b (diff) | |
download | ffmpeg-68ca330cbd479111db9cb7649d7530ad59f04cc8.tar.gz |
indeo2: init_get_bits size in bits instead of bytes
-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 d05998893b..591c1ceb89 100644 --- 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, |