aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/swscale.c
diff options
context:
space:
mode:
authorZhao Zhili <quinkblack@foxmail.com>2022-04-02 01:05:37 +0800
committerZhao Zhili <zhilizhao@tencent.com>2022-05-26 17:18:23 +0800
commit5d8d3c1ac211c3b13a2dcce5214dcf250c6c61f2 (patch)
tree0677e744c520966ed8002410595df8b4ee26d9e9 /libswscale/swscale.c
parent3c694967f862dc5e09921438c6cbd191944ac13c (diff)
downloadffmpeg-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 'libswscale/swscale.c')
0 files changed, 0 insertions, 0 deletions