aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/ripemd.c
diff options
context:
space:
mode:
authorMark Harris <mark.hsj@gmail.com>2018-11-24 13:02:02 -0800
committerJames Almer <jamrial@gmail.com>2019-07-23 01:18:28 -0300
commit5fd65ebf28d9e8f2c9aadf8d8ba08d181b8ddfc1 (patch)
treec5d42ba4ea3f2a115af2465cc5f7302c1957d049 /libavutil/ripemd.c
parentba11e4028cfc5d40f49f26a44473a4f70d67c85d (diff)
downloadffmpeg-5fd65ebf28d9e8f2c9aadf8d8ba08d181b8ddfc1.tar.gz
avutil/mem: Fix invalid use of av_alloc_size
The alloc_size attribute is valid only on functions that return a pointer. GCC 9 (not yet released) warns about invalid usage: ./libavutil/mem.h:342:1: warning: 'alloc_size' attribute ignored on a function returning int' [-Wattributes] 342 | av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size); | ^~~~~~~~~~~~~ Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 4361293fcf59edb56879c36edcd25f0a91e0edf8)
Diffstat (limited to 'libavutil/ripemd.c')
0 files changed, 0 insertions, 0 deletions