qtdemux: initialize caps pointer to null

Make sure the caps pointer returns initialized when using it in
qtdemux_parse_tree ().

https://bugzilla.gnome.org/show_bug.cgi?id=728987
This commit is contained in:
Luis de Bethencourt 2014-04-25 17:58:42 -04:00
parent f2d0ddf113
commit c073a6c779

View file

@ -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) {