maybe fix segfault with missing extradata (unchecked)
Originally committed as revision 7677 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
e995cfca28
commit
2c16032028
@ -826,7 +826,7 @@ static int svq3_decode_frame (AVCodecContext *avctx,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* if a match was found, parse the extra data */
|
/* if a match was found, parse the extra data */
|
||||||
if (!memcmp (extradata, "SEQH", 4)) {
|
if (extradata && !memcmp (extradata, "SEQH", 4)) {
|
||||||
|
|
||||||
GetBitContext gb;
|
GetBitContext gb;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user