]> git.sesse.net Git - ffmpeg/blobdiff - libavutil/mem.h
hwcontext_vulkan: check for memory size before choosing type
[ffmpeg] / libavutil / mem.h
index 55ae573ac9ae2a22609618918128eec402c6d627..5fb1a02dd9cf10a2e12784400c9e6da38d258cb3 100644 (file)
@@ -339,7 +339,7 @@ av_alloc_size(2, 3) void *av_realloc_array(void *ptr, size_t nmemb, size_t size)
  * @warning Unlike av_malloc(), the allocated memory is not guaranteed to be
  *          correctly aligned.
  */
-av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size);
+int av_reallocp_array(void *ptr, size_t nmemb, size_t size);
 
 /**
  * Reallocate the given buffer if it is not large enough, otherwise do nothing.