diff options
author | Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com> | 2015-11-11 19:16:16 +0100 |
---|---|---|
committer | Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com> | 2015-11-11 19:18:52 +0100 |
commit | 57b69d36f2204364a832d10fbd94c0c8b52490e4 (patch) | |
tree | 6b69b2b1b1a90673a222a54308dbdd6e171d1b46 | |
parent | 3d9efa7572e33bb0aba035b6b5f14973f07471ec (diff) | |
download | gst-vaapi-57b69d36f2204364a832d10fbd94c0c8b52490e4.tar.gz |
libs: vp9: remove unused symbols
clang complains about a couple variables and one label which were not
used. This patch removes them.
Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
https://bugzilla.gnome.org/show_bug.cgi?id=757958
-rw-r--r-- | gst-libs/gst/vaapi/gstvaapidecoder_vp9.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapidecoder_vp9.c b/gst-libs/gst/vaapi/gstvaapidecoder_vp9.c index c3ec9641..dacff29c 100644 --- a/gst-libs/gst/vaapi/gstvaapidecoder_vp9.c +++ b/gst-libs/gst/vaapi/gstvaapidecoder_vp9.c @@ -252,7 +252,6 @@ fill_picture (GstVaapiDecoderVp9 * decoder, GstVaapiPicture * picture) VADecPictureParameterBufferVP9 *pic_param = picture->param; GstVp9Parser *parser = priv->parser; GstVp9FrameHdr *frame_hdr = &priv->frame_hdr; - gint i; /* Fill in VAPictureParameterBufferVP9 */ pic_param->frame_width = priv->width; @@ -313,7 +312,6 @@ fill_slice (GstVaapiDecoderVp9 * decoder, GstVaapiSlice * slice) GstVaapiDecoderVp9Private *const priv = &decoder->priv; GstVp9Parser *parser = priv->parser; VASliceParameterBufferVP9 *const slice_param = slice->param; - GstVp9FrameHdr *const frame_hdr = &priv->frame_hdr; guint i; #define COPY_SEG_FIELD(s, f) \ @@ -529,7 +527,6 @@ gst_vaapi_decoder_vp9_parse (GstVaapiDecoder * base_decoder, GstVaapiDecoderVp9Private *const priv = &decoder->priv; guchar *buf; guint buf_size, flags = 0; - static guint cnt = 0; buf_size = gst_adapter_available (adapter); if (!buf_size) @@ -561,7 +558,6 @@ gst_vaapi_decoder_vp9_parse (GstVaapiDecoder * base_decoder, flags |= GST_VAAPI_DECODER_UNIT_FLAG_SLICE; flags |= GST_VAAPI_DECODER_UNIT_FLAG_FRAME_END; -set_flags: GST_VAAPI_DECODER_UNIT_FLAG_SET (unit, flags); return GST_VAAPI_DECODER_STATUS_SUCCESS; |