diff options
author | Edward Hervey <edward@centricular.com> | 2015-12-07 13:48:12 +0100 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2015-12-07 13:49:49 +0100 |
commit | fe45de837c03242c3555f05dc7585275fc6bf4d5 (patch) | |
tree | 463bc4af51e21eb94c80655b4507f5a00620de1a /gst | |
parent | 16db86c1be4e4328c09746a4f63ecc438e6c185f (diff) | |
download | gstreamer-plugins-bad-fe45de837c03242c3555f05dc7585275fc6bf4d5.tar.gz |
mxfmux: Remove more dead code
Coverity CID #1328818
Diffstat (limited to 'gst')
-rw-r--r-- | gst/mxf/mxfmux.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/gst/mxf/mxfmux.c b/gst/mxf/mxfmux.c index d3f5ae51a..75f8f98e2 100644 --- a/gst/mxf/mxfmux.c +++ b/gst/mxf/mxfmux.c @@ -1240,16 +1240,10 @@ gst_mxf_mux_handle_eos (GstMXFMux * mux) gst_util_uint64_scale ((mux->last_gc_position + 1) * GST_SECOND, mux->min_edit_rate.d, mux->min_edit_rate.n); - if (best) - gst_object_unref (best); - best = NULL; - if (pad->have_complete_edit_unit || gst_adapter_available (pad->adapter) > 0 || buffer) { have_data = TRUE; if (pad->last_timestamp < next_gc_timestamp) { - if (best) - gst_object_unref (best); best = gst_object_ref (pad); if (buffer) gst_buffer_unref (buffer); @@ -1262,9 +1256,6 @@ gst_mxf_mux_handle_eos (GstMXFMux * mux) if (have_data && !l->next) { mux->last_gc_position++; mux->last_gc_timestamp = next_gc_timestamp; - if (best) - gst_object_unref (best); - best = NULL; break; } } |