diff options
author | Zhao Zhili <quinkblack@foxmail.com> | 2022-04-02 01:05:37 +0800 |
---|---|---|
committer | Zhao Zhili <zhilizhao@tencent.com> | 2022-05-26 17:18:23 +0800 |
commit | 5d8d3c1ac211c3b13a2dcce5214dcf250c6c61f2 (patch) | |
tree | 0677e744c520966ed8002410595df8b4ee26d9e9 /libavcodec/vp9_mc_template.c | |
parent | 3c694967f862dc5e09921438c6cbd191944ac13c (diff) | |
download | ffmpeg-5d8d3c1ac211c3b13a2dcce5214dcf250c6c61f2.tar.gz |
avutil/mem: fix doc for reallocs
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.
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
Diffstat (limited to 'libavcodec/vp9_mc_template.c')
0 files changed, 0 insertions, 0 deletions