summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2013-12-05 12:16:45 +0100
committerSebastian Dröge <sebastian@centricular.com>2013-12-05 12:16:45 +0100
commit4fb63af272099ef1d3ff619a0bde97389100dbc0 (patch)
treea50b8830dae3e944a5a504b251099ce2d729f7ab
parent4b3199bb8e65a3c66101f4a217ce01d9bbe4b7c3 (diff)
amrwbdec: Remove some dead code
-rw-r--r--ext/amrwbdec/amrwbdec.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/ext/amrwbdec/amrwbdec.c b/ext/amrwbdec/amrwbdec.c
index 3a8f88be..b6e5f985 100644
--- a/ext/amrwbdec/amrwbdec.c
+++ b/ext/amrwbdec/amrwbdec.c
@@ -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;
- }
}