ext/faac/gstfaac.c: Prevent endless loop if buffer alloc error.
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Mon, 27 Oct 2008 16:32:49 +0000 (16:32 +0000)
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Mon, 27 Oct 2008 16:32:49 +0000 (16:32 +0000)
Original commit message from CVS:
* ext/faac/gstfaac.c: (gst_faac_sink_event):
Prevent endless loop if buffer alloc error.

ChangeLog
ext/faac/gstfaac.c

index 0352311e3a69607201b1a7e194952e5c3f9b14d3..98624b419656f0b69c4367dda128d31ba988c55f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-10-27  Mark Nauwelaerts  <mark.nauwelaerts@collabora.co.uk>
+
+       * ext/faac/gstfaac.c: (gst_faac_sink_event):
+       Prevent endless loop if buffer alloc error.
+
 2008-10-27  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
 
        * gst/flv/gstflvdemux.c: (gst_flv_demux_chain),
index 487777a034e9a1d1fa120ae83711df8626ed8495..7782ce5a59b57c9535fe8847d15f82e3c9b0669e 100644 (file)
@@ -501,7 +501,8 @@ gst_faac_sink_event (GstPad * pad, GstEvent * event)
             gst_buffer_unref (outbuf);
             ret = FALSE;
           }
-        }
+        } else
+          ret = FALSE;
       }
       ret = gst_pad_event_default (pad, event);
       break;