diff options
author | K.Y.H <kyh96403@hotmail.com> | 2011-11-11 00:30:39 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-11-26 08:33:31 +0100 |
commit | 51f316a997d7a9d3f7571f89392ad5767665b11f (patch) | |
tree | a915a93369d0a438a19fa88c012c48477eec46d6 /libavcodec/cook.c | |
parent | 488eec10443c4a498a926fa4f57f74be892c461a (diff) | |
download | ffmpeg-51f316a997d7a9d3f7571f89392ad5767665b11f.tar.gz |
cook: fix apparent typo in extradata parsing
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavcodec/cook.c')
-rw-r--r-- | libavcodec/cook.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/cook.c b/libavcodec/cook.c index 5a3822d4c7..186c3e70dd 100644 --- a/libavcodec/cook.c +++ b/libavcodec/cook.c @@ -1075,7 +1075,7 @@ static av_cold int cook_decode_init(AVCodecContext *avctx) q->subpacket[s].subbands = bytestream_get_be16(&edata_ptr); extradata_size -= 8; } - if (avctx->extradata_size >= 8){ + if (extradata_size >= 8) { bytestream_get_be32(&edata_ptr); //Unknown unused q->subpacket[s].js_subband_start = bytestream_get_be16(&edata_ptr); q->subpacket[s].js_vlc_bits = bytestream_get_be16(&edata_ptr); |