mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
don't fetch the size of SEQH unless SEQH was found
Originally committed as revision 2888 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
23fe14bb20
commit
ee59b4b680
@ -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' */
|
||||
|
Loading…
Reference in New Issue
Block a user