Commit 554caed2 authored by K.Y.H's avatar K.Y.H Committed by Michael Niedermayer

cook: fix apparent typo in extradata parsing

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 083d9ba4
...@@ -1075,7 +1075,7 @@ static av_cold int cook_decode_init(AVCodecContext *avctx) ...@@ -1075,7 +1075,7 @@ static av_cold int cook_decode_init(AVCodecContext *avctx)
q->subpacket[s].subbands = bytestream_get_be16(&edata_ptr); q->subpacket[s].subbands = bytestream_get_be16(&edata_ptr);
extradata_size -= 8; extradata_size -= 8;
} }
if (avctx->extradata_size >= 8){ if (extradata_size >= 8){
bytestream_get_be32(&edata_ptr); //Unknown unused bytestream_get_be32(&edata_ptr); //Unknown unused
q->subpacket[s].js_subband_start = bytestream_get_be16(&edata_ptr); q->subpacket[s].js_subband_start = bytestream_get_be16(&edata_ptr);
q->subpacket[s].js_vlc_bits = bytestream_get_be16(&edata_ptr); q->subpacket[s].js_vlc_bits = bytestream_get_be16(&edata_ptr);
......
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