From 8aa880786d6d3bc55202f0507781caa7eac89c2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= Date: Thu, 10 Mar 2016 12:47:49 +0100 Subject: [PATCH] vaapidecode: remove unused function declaration There is no need to pre-declare gst_vaapidecode_update_sink_caps(). And fixed code-style of the other pre-declared functions. --- gst/vaapi/gstvaapidecode.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/gst/vaapi/gstvaapidecode.c b/gst/vaapi/gstvaapidecode.c index ad167f3427..aeb97c367b 100644 --- a/gst/vaapi/gstvaapidecode.c +++ b/gst/vaapi/gstvaapidecode.c @@ -128,14 +128,10 @@ G_DEFINE_TYPE_WITH_CODE( GST_VAAPI_PLUGIN_BASE_INIT_INTERFACES) /* *INDENT-ON* */ -static gboolean -gst_vaapidecode_update_sink_caps (GstVaapiDecode * decode, GstCaps * caps); -static gboolean gst_vaapidecode_update_src_caps (GstVaapiDecode * decode); - -static gboolean -gst_vaapi_decode_input_state_replace (GstVaapiDecode * decode, +static gboolean gst_vaapidecode_update_sink_caps (GstVaapiDecode * decode, + GstCaps * caps); +static gboolean gst_vaapi_decode_input_state_replace (GstVaapiDecode * decode, const GstVideoCodecState * new_state); - static gboolean gst_vaapidecode_negotiate (GstVaapiDecode * decode); static void