vp8: Fix set-but-unused warnings

This commit is contained in:
Olivier Crête 2011-07-12 18:05:25 -04:00
parent 0b6cc7eb96
commit eba9cf06d4

View file

@ -843,9 +843,6 @@ gst_vp8_enc_buffer_to_image (GstVP8Enc * enc, GstBuffer * buffer)
{
vpx_image_t *image = g_slice_new (vpx_image_t);
guint8 *data = GST_BUFFER_DATA (buffer);
const GstVideoState *state;
state = gst_base_video_encoder_get_state (GST_BASE_VIDEO_ENCODER (enc));
memcpy (image, &enc->image, sizeof (*image));