[Ffmpeg-cvslog] r7677 - trunk/libavcodec/svq3.c
michael
subversion
Wed Jan 24 01:54:36 CET 2007
Author: michael
Date: Wed Jan 24 01:54:36 2007
New Revision: 7677
Modified:
trunk/libavcodec/svq3.c
Log:
maybe fix segfault with missing extradata (unchecked)
Modified: trunk/libavcodec/svq3.c
==============================================================================
--- trunk/libavcodec/svq3.c (original)
+++ trunk/libavcodec/svq3.c Wed Jan 24 01:54:36 2007
@@ -826,7 +826,7 @@
}
/* if a match was found, parse the extra data */
- if (!memcmp (extradata, "SEQH", 4)) {
+ if (extradata && !memcmp (extradata, "SEQH", 4)) {
GetBitContext gb;
More information about the ffmpeg-cvslog
mailing list