On Sat, Apr 02, 2022 at 01:05:37AM +0800, Zhao Zhili wrote:
> The doc says those function are like av_free if size or nmemb is
> zero. It doesn't match the code. av_realloc() realloc one byte if
> size is zero, which was added by 91ff05f6ac5 ten years ago.
> realloc() itself in C is implementation-dependent. Make the doc
> match the longstanding behaviour.
> ---
>  libavutil/mem.h | 23 +++++++++++------------
>  1 file changed, 11 insertions(+), 12 deletions(-)

patch probably ok

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Complexity theory is the science of finding the exact solution to an
approximation. Benchmarking OTOH is finding an approximation of the exact

Attachment: signature.asc
Description: PGP signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to