diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-04-17 23:32:09 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-04-17 23:32:13 +0400 |
commit | 0b3bd78714ab7ae33700caa487533d9ad2f75d13 (patch) | |
tree | fff37f21db33841be8c44ce4a733176c977b0161 /libavfilter | |
parent | 3220083c112f08d5f395133e25b4ccec9b47a759 (diff) | |
parent | e3e6aa7afb826401babb294606e86ca08f708c72 (diff) |
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.c | 2 |
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; |