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

Nicolas George george at nsup.org
Sun Mar 8 10:08:25 CET 2015

L'octidi 18 ventôse, an CCXXIII, Martin Vignali a écrit :
> +    if (!nb_samples || !s->nb_channels)

Half your test is completely useless, as s->nb_channels can not be zero.

Did you manage tu reproduce the issue it is supposed to fix?


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150308/721252e6/attachment.asc>

More information about the ffmpeg-devel mailing list