1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-29 22:00:58 +02:00
FFmpeg/libavutil
Mark Harris 0c904c0d3f 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:18:52 -03:00
..
2018-09-14 21:36:21 +02:00
2017-12-24 22:02:41 +01:00
2017-12-24 22:02:41 +01:00
2018-09-12 19:15:09 +02:00
2018-09-12 19:15:09 +02:00
2017-09-13 22:03:27 +01:00
2017-03-01 11:23:19 -05:00
2017-06-02 21:00:35 -04:00
2018-04-26 19:50:29 +02:00
2017-11-05 22:13:16 +01:00
2017-10-23 11:56:15 +02:00