Commit 2c5c826b authored by melanson's avatar melanson

don't fetch the size of SEQH unless SEQH was found


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@2888 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 6ff8727e
......@@ -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' */
......
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