]> git.sesse.net Git - ffmpeg/blobdiff - libavutil/mem.h
opencl: Print compilation log
[ffmpeg] / libavutil / mem.h
index 2a1e36d69fb5395af62e5dcdf16f9f453f1ab41d..a8eb14ee0f69bb5b2c7f145ebbaf0cd855dc02c0 100644 (file)
@@ -144,6 +144,7 @@ void *av_realloc_f(void *ptr, size_t nelem, size_t elsize);
  *          The situation is undefined according to POSIX and may crash with
  *          some libc implementations.
  */
+av_warn_unused_result
 int av_reallocp(void *ptr, size_t size);
 
 /**
@@ -304,6 +305,7 @@ void av_dynarray_add(void *tab_ptr, int *nb_ptr, void *elem);
  * @return >=0 on success, negative otherwise.
  * @see av_dynarray_add(), av_dynarray2_add()
  */
+av_warn_unused_result
 int av_dynarray_add_nofree(void *tab_ptr, int *nb_ptr, void *elem);
 
 /**