diff options
author | Paul B Mahol <onemda@gmail.com> | 2017-10-27 19:18:18 +0300 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2017-10-31 22:37:22 +0300 |
commit | e6055af025c1f96b47ac71107dca6169ed430824 (patch) | |
tree | 5d76bdaa1fd8daec5d9f4cb0c9f270cad01a5712 /libavfilter/avfilter.c | |
parent | 37f4a093f7f95241e4fcd582758504491e85e488 (diff) |
avfilter: pass correct argument to helper function
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter/avfilter.c')
-rw-r--r-- | libavfilter/avfilter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index bc9e60bb85..b98b32bacb 100644 --- a/libavfilter/avfilter.c +++ b/libavfilter/avfilter.c @@ -1532,7 +1532,7 @@ int ff_inlink_consume_samples(AVFilterLink *link, unsigned min, unsigned max, return 0; if (link->status_in) min = FFMIN(min, ff_framequeue_queued_samples(&link->fifo)); - ret = take_samples(link, min, link->max_samples, &frame); + ret = take_samples(link, min, max, &frame); if (ret < 0) return ret; consume_update(link, frame); |