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:
f2d0ddf
)
qtdemux: initialize caps pointer to null
author
Luis de Bethencourt
<luis@debethencourt.com>
Fri, 25 Apr 2014 21:58:42 +0000
(17:58 -0400)
committer
Luis de Bethencourt
<luis@debethencourt.com>
Fri, 25 Apr 2014 22:23:23 +0000
(18:23 -0400)
Make sure the caps pointer returns initialized when using it in
qtdemux_parse_tree ().
https://bugzilla.gnome.org/show_bug.cgi?id=728987
gst/isomp4/qtdemux.c
patch
|
blob
|
history
diff --git
a/gst/isomp4/qtdemux.c
b/gst/isomp4/qtdemux.c
index
0bc1a72
..
c621eae
100644
(file)
--- a/
gst/isomp4/qtdemux.c
+++ b/
gst/isomp4/qtdemux.c
@@
-10456,7
+10456,7
@@
static GstCaps *
qtdemux_video_caps (GstQTDemux * qtdemux, QtDemuxStream * stream,
guint32 fourcc, const guint8 * stsd_data, gchar ** codec_name)
{
- GstCaps *caps;
+ GstCaps *caps
= NULL
;
GstVideoFormat format = GST_VIDEO_FORMAT_UNKNOWN;
switch (fourcc) {