1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-19 05:49:09 +02:00
FFmpeg/libavutil
Mark Harris 266b784bb3 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)
2019-07-23 01:21:55 -03:00
..
2015-06-19 02:25:48 +02:00
2015-08-19 16:15:13 +00:00
2015-08-19 16:15:13 +00:00
2015-06-19 15:57:32 +02:00
2015-08-22 10:07:05 -07:00
2015-05-02 14:37:48 +02:00
2015-05-31 12:07:11 +02:00
2015-08-19 16:15:13 +00:00
2015-08-19 16:15:13 +00:00
2017-02-08 21:17:50 +01:00
2017-02-08 21:17:50 +01:00
2015-08-22 10:07:05 -07:00
2016-08-15 20:25:13 +02:00
2015-05-26 18:31:53 +02:00
2015-05-26 18:31:53 +02:00
2018-01-31 22:56:14 +01:00
2015-12-06 02:51:27 +01:00