mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-05 10:12:20 +00:00
asfmux: remove unnecessary test
We've been dereferencing that object like there's no tomorrow in the code just before that. Coverity 206369
This commit is contained in:
parent
c6a9c1d878
commit
747542762e
1 changed files with 3 additions and 5 deletions
|
@ -1331,11 +1331,9 @@ gst_asf_mux_start_file (GstAsfMux * asfmux)
|
||||||
gst_asf_mux_write_ext_content_description (asfmux, &bufdata, asftags->tags);
|
gst_asf_mux_write_ext_content_description (asfmux, &bufdata, asftags->tags);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (asftags) {
|
|
||||||
if (asftags->tags)
|
if (asftags->tags)
|
||||||
gst_tag_list_unref (asftags->tags);
|
gst_tag_list_unref (asftags->tags);
|
||||||
g_free (asftags);
|
g_free (asftags);
|
||||||
}
|
|
||||||
|
|
||||||
/* writing header extension objects */
|
/* writing header extension objects */
|
||||||
gst_asf_mux_write_header_extension (asfmux, &bufdata, stream_num *
|
gst_asf_mux_write_header_extension (asfmux, &bufdata, stream_num *
|
||||||
|
|
Loading…
Reference in a new issue