Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-11-01 21:02:23 +0400
committerMichael Niedermayer <michaelni@gmx.at>2012-11-01 21:02:23 +0400
commit4695ee71b0178d98a1f4974acdf112db83419665 (patch)
tree8c66584284602375cd99e21212a80b5cdbc88f7b /libavfilter/fifo.c
parent304ebed58683cbd0a0dc9d799630e6f5b977a5e6 (diff)
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>
Diffstat (limited to 'libavfilter/fifo.c')
-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,