diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-11-01 18:02:23 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-11-01 18:02:23 +0100 |
commit | 4695ee71b0178d98a1f4974acdf112db83419665 (patch) | |
tree | 8c66584284602375cd99e21212a80b5cdbc88f7b | |
parent | 304ebed58683cbd0a0dc9d799630e6f5b977a5e6 (diff) | |
download | ffmpeg-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.c | 1 |
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, |