mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
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:
parent
f2d0ddf113
commit
c073a6c779
1 changed files with 1 additions and 1 deletions
|
@ -10456,7 +10456,7 @@ static GstCaps *
|
||||||
qtdemux_video_caps (GstQTDemux * qtdemux, QtDemuxStream * stream,
|
qtdemux_video_caps (GstQTDemux * qtdemux, QtDemuxStream * stream,
|
||||||
guint32 fourcc, const guint8 * stsd_data, gchar ** codec_name)
|
guint32 fourcc, const guint8 * stsd_data, gchar ** codec_name)
|
||||||
{
|
{
|
||||||
GstCaps *caps;
|
GstCaps *caps = NULL;
|
||||||
GstVideoFormat format = GST_VIDEO_FORMAT_UNKNOWN;
|
GstVideoFormat format = GST_VIDEO_FORMAT_UNKNOWN;
|
||||||
|
|
||||||
switch (fourcc) {
|
switch (fourcc) {
|
||||||
|
|
Loading…
Reference in a new issue