[FFmpeg-devel] Patch proposal : Fix crash with astats filter when no audio input

Paul B Mahol onemda at gmail.com
Sun Mar 8 09:43:29 CET 2015


On 3/7/15, Martin Vignali <martin.vignali at gmail.com> wrote:
> Hello,
>
> Exemple to create the crash :
> ffmpeg -i fileWithoutSound -filter astats -f null -
>
> A patch in attach avoid the crash by avoiding Zero division in print_stats.
>
> I test the patch on several files, and the crash doesn't appear anymore.
>
> Best regards
>
> Martin
>

Different patch applied.


More information about the ffmpeg-devel mailing list