mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-23 11:19:55 +00:00
indeo2: init_get_bits size in bits instead of bytes
This commit is contained in:
parent
46b004959b
commit
68ca330cbd
@ -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…
Reference in New Issue
Block a user