[FFmpeg-cvslog] cook: fix apparent typo in extradata parsing
K.Y.H
git at videolan.org
Sun Nov 27 00:39:11 CET 2011
ffmpeg | branch: master | K.Y.H <kyh96403 at hotmail.com> | Fri Nov 11 00:30:39 2011 +0100| [51f316a997d7a9d3f7571f89392ad5767665b11f] | committer: Anton Khirnov
cook: fix apparent typo in extradata parsing
Signed-off-by: Anton Khirnov <anton at khirnov.net>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=51f316a997d7a9d3f7571f89392ad5767665b11f
---
libavcodec/cook.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavcodec/cook.c b/libavcodec/cook.c
index 5a3822d..186c3e7 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);
More information about the ffmpeg-cvslog
mailing list