summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2012-01-20 17:00:51 +0100
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2012-01-20 17:10:40 +0100
commited94e0123120def21770fdf1cc8d26228cc2a8eb (patch)
tree0949a3be065c64442efd22ed40fbbd6034cee8a2
parentc588d568f14f786d137c8eb02b419b14a22a3c7c (diff)
rtptheoradepay: remove dead code
-rw-r--r--gst/rtp/gstrtptheoradepay.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/gst/rtp/gstrtptheoradepay.c b/gst/rtp/gstrtptheoradepay.c
index 1e3826220..c808c2a73 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");