diff options
author | Mike Melanson <mike@multimedia.cx> | 2004-03-14 15:04:21 +0000 |
---|---|---|
committer | Mike Melanson <mike@multimedia.cx> | 2004-03-14 15:04:21 +0000 |
commit | ee59b4b680960fc7d96d41d74e18881a4559a689 (patch) | |
tree | a8cfde01a24ef02fc6c9bef3a1a7f33601e1614e /libavcodec/svq3.c | |
parent | 23fe14bb20888038b91e62b16d50fe0b75043a10 (diff) | |
download | ffmpeg-streaming-ee59b4b680960fc7d96d41d74e18881a4559a689.zip ffmpeg-streaming-ee59b4b680960fc7d96d41d74e18881a4559a689.tar.gz |
don't fetch the size of SEQH unless SEQH was found
Originally committed as revision 2888 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/svq3.c')
-rw-r--r-- | libavcodec/svq3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/svq3.c b/libavcodec/svq3.c index 34ae368..413cc89 100644 --- a/libavcodec/svq3.c +++ b/libavcodec/svq3.c @@ -799,13 +799,13 @@ static int svq3_decode_frame (AVCodecContext *avctx, break; extradata++; } - size = BE_32(&extradata[4]); /* if a match was found, parse the extra data */ if (!memcmp (extradata, "SEQH", 4)) { GetBitContext gb; + size = BE_32(&extradata[4]); init_get_bits (&gb, extradata + 8, size); /* 'frame size code' and optional 'width, height' */ |