[FFmpeg-devel] [PATCH 1/2] avfilter: pass correct argument to helper function

Nicolas George george at nsup.org
Mon Oct 30 13:50:49 EET 2017


Le sextidi 6 brumaire, an CCXXVI, Paul B Mahol a écrit :
> Signed-off-by: Paul B Mahol <onemda at gmail.com>
> ---
>  libavfilter/avfilter.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> 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);

Ok.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20171030/c6c887fb/attachment.sig>


More information about the ffmpeg-devel mailing list