[FFmpeg-devel] avfilter/af_astats: Avoid Zero division in print part.

Paul B Mahol onemda at gmail.com
Sun Mar 8 10:52:02 CET 2015

On 3/8/15, Nicolas George <george at nsup.org> wrote:
> L'octidi 18 ventose, an CCXXIII, Paul B Mahol a ecrit :
>> You mean for case when there are channels present but without any
>> samples? For example nb_channels = 2 and nb_samples = 0?
> Yes. Are you suggesting that when you reproduce the crash, it happens with
> nb_channels == 0? If so, I would very much like to see that, because it
> should not be possible at all.

With nb_channels = 0 and nb_samples = 0 and compiled with clang i get
floating exception.

More information about the ffmpeg-devel mailing list