[0.11] gst-plugins-good: rtptheoradepay: remove dead code

Sebastian Dröge slomo at kemper.freedesktop.org
Wed Jan 25 03:50:26 PST 2012


Module: gst-plugins-good
Branch: 0.11
Commit: ed94e0123120def21770fdf1cc8d26228cc2a8eb
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=ed94e0123120def21770fdf1cc8d26228cc2a8eb

Author: Mark Nauwelaerts <mark.nauwelaerts at collabora.co.uk>
Date:   Fri Jan 20 17:00:51 2012 +0100

rtptheoradepay: remove dead code

---

 gst/rtp/gstrtptheoradepay.c |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/gst/rtp/gstrtptheoradepay.c b/gst/rtp/gstrtptheoradepay.c
index 1e38262..c808c2a 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");



More information about the gstreamer-commits mailing list