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

Paul B Mahol onemda at gmail.com
Sun Mar 8 11:02: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 :
>> With nb_channels = 0 and nb_samples = 0 and compiled with clang i get
>> floating exception.
>
> nb_channels is not possible. If you reach it, please investigate, or at
> least give some details to allow people to investigate.

Well, nb_channels is for certain 0 here.
>
> Hiding bugs is never a good idea.
>
> Regards,
>
> --
>   Nicolas George
>


More information about the ffmpeg-devel mailing list