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

Martin Vignali martin.vignali at gmail.com
Sat Mar 7 23:56:43 CET 2015


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-crash-in-astats-filter-whith-no-audio-input.patch
Type: application/octet-stream
Size: 2719 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150307/41d2127a/attachment.obj>

More information about the ffmpeg-devel mailing list