mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +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);
|
||||
}
|
||||
|
||||
if (asftags) {
|
||||
if (asftags->tags)
|
||||
gst_tag_list_unref (asftags->tags);
|
||||
g_free (asftags);
|
||||
}
|
||||
if (asftags->tags)
|
||||
gst_tag_list_unref (asftags->tags);
|
||||
g_free (asftags);
|
||||
|
||||
/* writing header extension objects */
|
||||
gst_asf_mux_write_header_extension (asfmux, &bufdata, stream_num *
|
||||
|
|
Loading…
Reference in a new issue