projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e995cfc
)
maybe fix segfault with missing extradata (unchecked)
author
Michael Niedermayer
<michaelni@gmx.at>
Wed, 24 Jan 2007 00:54:36 +0000
(
00:54
+0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 24 Jan 2007 00:54:36 +0000
(
00:54
+0000)
Originally committed as revision 7677 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/svq3.c
patch
|
blob
|
history
diff --git
a/libavcodec/svq3.c
b/libavcodec/svq3.c
index c852832f666f5b3768abdc2638bd50880e7b4abf..8c08409e954332e7a85ef1d6617e6eb5815f9437 100644
(file)
--- a/
libavcodec/svq3.c
+++ b/
libavcodec/svq3.c
@@
-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;