From 44c0d75cffcc82a797b6b9db9988fcbbc59a40b6 Mon Sep 17 00:00:00 2001 From: Luis de Bethencourt Date: Mon, 8 Feb 2016 23:17:34 +0000 Subject: [PATCH] adaptivedemux: remove overwritten value ret is overwitten before used with the return of the subclass seek. CID #1352044 --- gst-libs/gst/adaptivedemux/gstadaptivedemux.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gst-libs/gst/adaptivedemux/gstadaptivedemux.c b/gst-libs/gst/adaptivedemux/gstadaptivedemux.c index af4aa12abd..230d206d64 100644 --- a/gst-libs/gst/adaptivedemux/gstadaptivedemux.c +++ b/gst-libs/gst/adaptivedemux/gstadaptivedemux.c @@ -1343,8 +1343,7 @@ gst_adaptive_demux_src_event (GstPad * pad, GstObject * parent, ts = stop; } - ret = - demux_class->stream_seek (stream, rate >= 0, stream_seek_flags, ts, + demux_class->stream_seek (stream, rate >= 0, stream_seek_flags, ts, &ts); /* replace event with a new one without snaping to seek on all streams */