]> git.sesse.net Git - ffmpeg/blobdiff - libavutil/common.h
rename attribute_unused to av_unused and moves its declaration to common.h
[ffmpeg] / libavutil / common.h
index 9ec5c7c781b6e585fbf8220c805f86ea5748be9e..14486af8342a052a04914524ac08ed058777a817 100644 (file)
 #endif
 #endif
 
+#ifndef av_unused
+#if defined(__GNUC__)
+#    define av_unused __attribute__((unused))
+#else
+#    define av_unused
+#endif
+#endif
+
 #include "mem.h"
 
 //rounded divison & shift