[FFmpeg-devel] [PATCH v1 1/6] avfilter/af_silencedetect: change parameters order for av_malllocz_array

Moritz Barsnick barsnick at gmx.net
Mon Oct 7 18:40:50 EEST 2019


On Mon, Oct 07, 2019 at 22:28:01 +0800, Limin Wang wrote:
> It's minor change, please corrent me if I'm misunderstanding. by description of the av_malloc_array parameters:
>   * @param nmemb Number of element
>   * @param size  Size of a single element

I agree that it's more true to the documentation, although there's
technically no (or very little) difference.

Alas, I found 17 such "reversed" uses in the code base, at a quick
glance.

Moritz


More information about the ffmpeg-devel mailing list