diff --git a/gst-libs/gst/audio/gstaudiodecoder.c b/gst-libs/gst/audio/gstaudiodecoder.c index 7bfa830f14..b2d0eb4c68 100644 --- a/gst-libs/gst/audio/gstaudiodecoder.c +++ b/gst-libs/gst/audio/gstaudiodecoder.c @@ -1981,9 +1981,6 @@ gst_audio_decoder_sink_eventfunc (GstAudioDecoder * dec, GstEvent * event) case GST_EVENT_CAPS: { - GstCaps *caps; - - gst_event_parse_caps (event, &caps); ret = TRUE; dec->priv->do_caps = TRUE; gst_event_unref (event);