mirror of
https://github.com/librempeg/librempeg
synced 2024-11-23 11:39:47 +00:00
avfilter: pass correct argument to helper function
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
37f4a093f7
commit
e6055af025
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user