diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-08-09 09:28:11 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-08-09 09:28:11 +0200 |
commit | 190a5893d189cc5efbb41069901c1066e58910c9 (patch) | |
tree | 2eabbbb7e2743ec835e685af636170861b93148b /libavfilter/fifo.c | |
parent | 760c5278dbff53a68949700b31a2b440f3aa231a (diff) | |
download | ffmpeg-190a5893d189cc5efbb41069901c1066e58910c9.tar.gz |
avfilter/fifo: explicitly assert that a frame should have become available after request
May help tools like coverity
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/fifo.c')
-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 efc89685c9..c6beaf6937 100644 --- a/libavfilter/fifo.c +++ b/libavfilter/fifo.c @@ -201,6 +201,7 @@ static int return_audio_frame(AVFilterContext *ctx) break; } else if (ret < 0) return ret; + av_assert0(s->root.next); // If ff_request_frame() succeeded then we should have a frame } head = s->root.next->frame; |