projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1da893b
)
faad: guard against codec_data field with a NULL buffer in caps
author
Tim-Philipp Müller
<tim.muller@collabora.co.uk>
Tue, 16 Feb 2010 16:49:39 +0000
(16:49 +0000)
committer
Tim-Philipp Müller
<tim.muller@collabora.co.uk>
Tue, 16 Feb 2010 16:49:39 +0000
(16:49 +0000)
Fixes #609478.
ext/faad/gstfaad.c
patch
|
blob
|
history
diff --git
a/ext/faad/gstfaad.c
b/ext/faad/gstfaad.c
index
2ed9189
..
15c993f
100644
(file)
--- a/
ext/faad/gstfaad.c
+++ b/
ext/faad/gstfaad.c
@@
-353,6
+353,8
@@
gst_faad_setcaps (GstPad * pad, GstCaps * caps)
faad->packetised = TRUE;
buf = gst_value_get_buffer (value);
+ g_return_val_if_fail (buf != NULL, FALSE);
+
cdata = GST_BUFFER_DATA (buf);
csize = GST_BUFFER_SIZE (buf);