splitmuxsin: remove dead code
authorLuis de Bethencourt <luis.bg@samsung.com>
Mon, 16 Feb 2015 13:59:14 +0000 (13:59 +0000)
committerLuis de Bethencourt <luis.bg@samsung.com>
Mon, 16 Feb 2015 13:59:17 +0000 (13:59 +0000)
Every instance of goto beach has buf_info equal NULL. Don't check
for a condition that never happens.

CID #1268399

gst/multifile/gstsplitmuxsink.c

index 695723b..6143bcd 100644 (file)
@@ -636,8 +636,6 @@ handle_mq_output (GstPad * pad, GstPadProbeInfo * info, MqStreamCtx * ctx)
 
 beach:
   GST_SPLITMUX_UNLOCK (splitmux);
-  if (buf_info)
-    mq_stream_buf_free (buf_info);
   return GST_PAD_PROBE_DROP;
 }