aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-11-01 18:02:23 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-11-01 18:02:23 +0100
commit4695ee71b0178d98a1f4974acdf112db83419665 (patch)
tree8c66584284602375cd99e21212a80b5cdbc88f7b
parent304ebed58683cbd0a0dc9d799630e6f5b977a5e6 (diff)
downloadffmpeg-4695ee71b0178d98a1f4974acdf112db83419665.tar.gz
lavfi/fifo: add assert to ensure request was successfull.
We would crash a moment later anyway if this fails. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavfilter/fifo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/fifo.c b/libavfilter/fifo.c
index e05f9827e3..75f9ddb40c 100644
--- a/libavfilter/fifo.c
+++ b/libavfilter/fifo.c
@@ -239,6 +239,7 @@ static int request_frame(AVFilterLink *outlink)
if (!fifo->root.next) {
if ((ret = ff_request_frame(outlink->src->inputs[0])) < 0)
return ret;
+ av_assert0(fifo->root.next);
}
/* by doing this, we give ownership of the reference to the next filter,