summaryrefslogtreecommitdiffstats
path: root/ext/faac/gstfaac.c
diff options
context:
space:
mode:
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2008-10-27 16:32:49 +0000
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2008-10-27 16:32:49 +0000
commitc7b374abcb2c78be35a75a9db8ecb18496d444a6 (patch)
treefb621044a8e5629507d836d03fd18c85a8a85f87 /ext/faac/gstfaac.c
parent967088f0740082e2ab4ea3da18e66a9e4ac49bc8 (diff)
downloadgst-plugins-bad-c7b374abcb2c78be35a75a9db8ecb18496d444a6.tar.gz
gst-plugins-bad-c7b374abcb2c78be35a75a9db8ecb18496d444a6.tar.bz2
gst-plugins-bad-c7b374abcb2c78be35a75a9db8ecb18496d444a6.zip
ext/faac/gstfaac.c: Prevent endless loop if buffer alloc error.
Original commit message from CVS: * ext/faac/gstfaac.c: (gst_faac_sink_event): Prevent endless loop if buffer alloc error.
Diffstat (limited to 'ext/faac/gstfaac.c')
-rw-r--r--ext/faac/gstfaac.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/faac/gstfaac.c b/ext/faac/gstfaac.c
index 487777a0..7782ce5a 100644
--- a/ext/faac/gstfaac.c
+++ b/ext/faac/gstfaac.c
@@ -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;