Commit c67de789 authored by michael's avatar michael

maybe fix segfault with missing extradata (unchecked)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7677 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 9703512c
......@@ -826,7 +826,7 @@ static int svq3_decode_frame (AVCodecContext *avctx,
}
/* if a match was found, parse the extra data */
if (!memcmp (extradata, "SEQH", 4)) {
if (extradata && !memcmp (extradata, "SEQH", 4)) {
GetBitContext gb;
......
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