mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
avidemux: Free vprp chunk also if it existed but we made no use of it
https://bugzilla.gnome.org/show_bug.cgi?id=775479
This commit is contained in:
parent
7d6cf17498
commit
9a4b1e9cdc
1 changed files with 2 additions and 3 deletions
|
@ -2308,9 +2308,6 @@ gst_avi_demux_parse_stream (GstAviDemux * avi, GstBuffer * buf)
|
|||
if (n && d)
|
||||
gst_caps_set_simple (caps, "pixel-aspect-ratio", GST_TYPE_FRACTION,
|
||||
n, d, NULL);
|
||||
/* very local, not needed elsewhere */
|
||||
g_free (vprp);
|
||||
vprp = NULL;
|
||||
}
|
||||
caps = gst_avi_demux_check_caps (avi, stream, caps);
|
||||
tag_name = GST_TAG_VIDEO_CODEC;
|
||||
|
@ -2457,6 +2454,8 @@ gst_avi_demux_parse_stream (GstAviDemux * avi, GstBuffer * buf)
|
|||
gst_tag_list_add (stream->taglist, GST_TAG_MERGE_APPEND, tag_name,
|
||||
codec_name, NULL);
|
||||
}
|
||||
|
||||
g_free (vprp);
|
||||
g_free (codec_name);
|
||||
gst_buffer_unref (buf);
|
||||
|
||||
|
|
Loading…
Reference in a new issue