aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-04-17 21:32:09 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-04-17 21:32:13 +0200
commit0b3bd78714ab7ae33700caa487533d9ad2f75d13 (patch)
treefff37f21db33841be8c44ce4a733176c977b0161 /libavfilter
parent3220083c112f08d5f395133e25b4ccec9b47a759 (diff)
parente3e6aa7afb826401babb294606e86ca08f708c72 (diff)
downloadffmpeg-0b3bd78714ab7ae33700caa487533d9ad2f75d13.tar.gz
Merge remote-tracking branch 'cigaes/master'
* cigaes/master: lavfi/buffersrc: fix failed requests count. Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/buffersrc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavfilter/buffersrc.c b/libavfilter/buffersrc.c
index 3e05fb37e6..5d834b549c 100644
--- a/libavfilter/buffersrc.c
+++ b/libavfilter/buffersrc.c
@@ -123,6 +123,8 @@ static int attribute_align_arg av_buffersrc_add_frame_internal(AVFilterContext *
AVFrame *copy;
int ret;
+ s->nb_failed_requests = 0;
+
if (!frame) {
s->eof = 1;
return 0;