gsmenc: fix unused-but-set-variable compiler warning

This commit is contained in:
Tim-Philipp Müller 2012-01-19 15:43:51 +00:00
parent 9b31cade1e
commit c6edc0463d

View file

@ -136,11 +136,8 @@ gst_gsmenc_stop (GstAudioEncoder * enc)
static gboolean
gst_gsmenc_set_format (GstAudioEncoder * benc, GstAudioInfo * info)
{
GstGSMEnc *gsmenc;
GstCaps *srccaps;
gsmenc = GST_GSMENC (benc);
srccaps = gst_static_pad_template_get_caps (&gsmenc_src_template);
gst_pad_set_caps (GST_AUDIO_ENCODER_SRC_PAD (benc), srccaps);