From ed94e0123120def21770fdf1cc8d26228cc2a8eb Mon Sep 17 00:00:00 2001 From: Mark Nauwelaerts Date: Fri, 20 Jan 2012 17:00:51 +0100 Subject: [PATCH] rtptheoradepay: remove dead code --- gst/rtp/gstrtptheoradepay.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/gst/rtp/gstrtptheoradepay.c b/gst/rtp/gstrtptheoradepay.c index 1e38262206..c808c2a730 100644 --- a/gst/rtp/gstrtptheoradepay.c +++ b/gst/rtp/gstrtptheoradepay.c @@ -322,10 +322,6 @@ gst_rtp_theora_depay_setcaps (GstBaseRTPDepayload * depayload, GstCaps * caps) guint8 *data; gsize size; - /* configure string should be in the caps */ - if (configuration == NULL) - goto no_configuration; - /* deserialize base64 to buffer */ data = g_base64_decode (configuration, &size); @@ -349,11 +345,6 @@ gst_rtp_theora_depay_setcaps (GstBaseRTPDepayload * depayload, GstCaps * caps) return res; /* ERRORS */ -no_configuration: - { - GST_ERROR_OBJECT (rtptheoradepay, "no configuration specified"); - return FALSE; - } invalid_configuration: { GST_ERROR_OBJECT (rtptheoradepay, "invalid configuration specified");