OSDN Git Service
(root)
/
coroid
/
libav_saccubus.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
c852832
..
8c08409
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;