You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
vima: switch to init_get_bits8()
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
@@ -145,7 +145,8 @@ static int decode_frame(AVCodecContext *avctx, void *data,
|
|||||||
if (pkt->size < 13)
|
if (pkt->size < 13)
|
||||||
return AVERROR_INVALIDDATA;
|
return AVERROR_INVALIDDATA;
|
||||||
|
|
||||||
init_get_bits(&gb, pkt->data, pkt->size * 8);
|
if ((ret = init_get_bits8(&gb, pkt->data, pkt->size)) < 0)
|
||||||
|
return ret;
|
||||||
|
|
||||||
samples = get_bits_long(&gb, 32);
|
samples = get_bits_long(&gb, 32);
|
||||||
if (samples == 0xffffffff) {
|
if (samples == 0xffffffff) {
|
||||||
|
Reference in New Issue
Block a user