1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-19 05:49:09 +02:00
FFmpeg/libavutil
Mark Harris 4361293fcf 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>
2018-11-26 23:47:29 +01: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
2018-04-26 19:50:29 +02:00
2017-11-05 22:13:16 +01:00
2017-10-23 11:56:15 +02:00