[MOVED FROM BAD 084/134] vp8: Fix set-but-unused warnings

This commit is contained in:
Olivier Crête 2011-07-12 18:05:25 -04:00 committed by Sebastian Dröge
parent c498e188b9
commit 140bd5c092

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));