remove accidentally commited hack
authorJohan Dahlin <johan@gnome.org>
Tue, 15 Nov 2005 21:00:44 +0000 (21:00 +0000)
committerJohan Dahlin <johan@gnome.org>
Tue, 15 Nov 2005 21:00:44 +0000 (21:00 +0000)
Original commit message from CVS:
remove accidentally commited hack

ext/mad/gstmad.c

index d484f0d..96a0013 100644 (file)
@@ -1280,13 +1280,10 @@ gst_mad_chain (GstPad * pad, GstBuffer * buffer)
         MIN (MAD_BUFFER_MDLEN, MIN (size,
             MAD_BUFFER_MDLEN * 3 - mad->tempsize));
     if (tocopy == 0) {
-#if 0
       GST_ELEMENT_ERROR (mad, STREAM, DECODE, (NULL),
           ("mad claims to need more data than %u bytes, we don't have that much",
               MAD_BUFFER_MDLEN * 3));
       result = GST_FLOW_ERROR;
-#endif
-      result = GST_FLOW_OK;
       goto end;
     }