amrwbdec: Remove some dead code
authorSebastian Dröge <sebastian@centricular.com>
Thu, 5 Dec 2013 11:16:45 +0000 (12:16 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 5 Dec 2013 11:16:45 +0000 (12:16 +0100)
ext/amrwbdec/amrwbdec.c

index 3a8f88bece4096e40c672f1907728a8b4314aac4..b6e5f9854c19bd8a8bcd45e40d10e5bc83014021 100644 (file)
@@ -230,12 +230,4 @@ gst_amrwbdec_handle_frame (GstAudioDecoder * dec, GstBuffer * buffer)
 
   /* send out */
   return gst_audio_decoder_finish_frame (dec, out, 1);
-
-  /* ERRORS */
-not_negotiated:
-  {
-    GST_ELEMENT_ERROR (amrwbdec, STREAM, TYPE_NOT_FOUND, (NULL),
-        ("Decoder is not initialized"));
-    return GST_FLOW_NOT_NEGOTIATED;
-  }
 }