Commit 68ca330c authored by Alex Converse's avatar Alex Converse

indeo2: init_get_bits size in bits instead of bytes

parent 46b00495
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment