From 919b93ae35b3a8a1c07b22ddf8cfd71f73bac7ea Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Tue, 20 Jan 2015 09:23:02 -0300 Subject: [PATCH] adaptivedemux: add explicit cast to make clang happy Fixes compilation --- gst-libs/gst/adaptivedemux/gstadaptivedemux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/adaptivedemux/gstadaptivedemux.c b/gst-libs/gst/adaptivedemux/gstadaptivedemux.c index 826d2e1e83..c541b50423 100644 --- a/gst-libs/gst/adaptivedemux/gstadaptivedemux.c +++ b/gst-libs/gst/adaptivedemux/gstadaptivedemux.c @@ -2252,7 +2252,7 @@ gst_adaptive_demux_stream_advance_fragment_unlocked (GstAdaptiveDemux * demux, gst_adaptive_demux_stream_update_current_bitrate (stream))) { stream->need_header = TRUE; gst_adapter_clear (stream->adapter); - ret = GST_ADAPTIVE_DEMUX_FLOW_SWITCH; + ret = (GstFlowReturn) GST_ADAPTIVE_DEMUX_FLOW_SWITCH; } /* the subclass might want to switch pads */