[FFmpeg-devel] [PATCH 1/5] avfilter/af_afade: fix crossfade duration maximum value

Marton Balint cus at passwd.hu
Mon Oct 1 10:54:50 EEST 2018



On Mon, 1 Oct 2018, Paul B Mahol wrote:

> On 9/30/18, Marton Balint <cus at passwd.hu> wrote:
>> Signed-off-by: Marton Balint <cus at passwd.hu>
>> ---
>>  libavfilter/af_afade.c | 4 ++--
>>  1 file changed, 2 insertions(+), 2 deletions(-)
>>
>
> Why?
>
> Value is too big.

AV_OPT_TYPE_DURATION is microsecond precision, therefore 60 is 60 usecs. 
Probably you meant 60 seconds as limit. That is what the patch fixes.

Regards,
Marton


More information about the ffmpeg-devel mailing list