libs: remove unused variables

clang reports these unused variables. Let's get rid of them.

https://bugzilla.gnome.org/show_bug.cgi?id=747312
This commit is contained in:
Víctor Manuel Jáquez Leal 2015-04-03 20:28:22 +02:00
parent d363000eaa
commit c82e51738f
2 changed files with 0 additions and 5 deletions

View file

@ -258,8 +258,6 @@ gst_vaapi_display_loader_map_lookup_type (GstVaapiDisplayType type)
/* --- EGL backend implementation --- */
/* ------------------------------------------------------------------------- */
static const guint g_display_types = 1U << GST_VAAPI_DISPLAY_TYPE_EGL;
typedef struct
{
gpointer display;

View file

@ -78,8 +78,6 @@ struct _GstVaapiEncoderVP8
static GstVaapiEncoderStatus
ensure_profile (GstVaapiEncoderVP8 * encoder)
{
GstVaapiProfile profile;
/* Always start from "simple" profile for maximum compatibility */
encoder->profile = GST_VAAPI_PROFILE_VP8;
@ -258,7 +256,6 @@ fill_picture (GstVaapiEncoderVP8 * encoder,
GstVaapiEncPicture * picture,
GstVaapiCodedBuffer * codedbuf, GstVaapiSurfaceProxy * surface)
{
GstVaapiEncoder *const base_encoder = GST_VAAPI_ENCODER_CAST (encoder);
VAEncPictureParameterBufferVP8 *const pic_param = picture->param;
int i;