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

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-08-09 11:28:11 +0400
committerMichael Niedermayer <michaelni@gmx.at>2013-08-09 11:28:11 +0400
commit190a5893d189cc5efbb41069901c1066e58910c9 (patch)
tree2eabbbb7e2743ec835e685af636170861b93148b /libavfilter/fifo.c
parent760c5278dbff53a68949700b31a2b440f3aa231a (diff)
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.c1
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;