From b8068874d584828c98a4abdc620883d986ef0c86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= Date: Fri, 28 Aug 2015 16:06:08 +0200 Subject: [PATCH] vaapidecode: compilation fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit gst_vaapi_decoder_state_changed() returns void. This patch fixes the compilation where the toolchain uses restrictive flags as clang. Signed-off-by: Víctor Manuel Jáquez Leal --- gst/vaapi/gstvaapidecode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/vaapi/gstvaapidecode.c b/gst/vaapi/gstvaapidecode.c index 07e8a8bd67..acb8a440cf 100644 --- a/gst/vaapi/gstvaapidecode.c +++ b/gst/vaapi/gstvaapidecode.c @@ -133,7 +133,7 @@ gst_vaapi_decoder_state_changed (GstVaapiDecoder * decoder, if (!gst_vaapi_decode_input_state_replace (decode, codec_state)) return; if (!gst_vaapidecode_update_sink_caps (decode, decode->input_state->caps)) - return FALSE; + return; decode->do_renego = TRUE; }