Browse Source

indeo2: init_get_bits size in bits instead of bytes

(cherry picked from commit 68ca330cbd)

Signed-off-by: Anton Khirnov <anton@khirnov.net>
tags/n0.8.4
Alex Converse Anton Khirnov 14 years ago
parent
commit
1656dd7a4e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/indeo2.c

+ 1
- 1
libavcodec/indeo2.c View File

@@ -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,


Loading…
Cancel
Save