]> git.sesse.net Git - movit/blobdiff - defs.h
Add input support for packed 10-bit Y'CbCr.
[movit] / defs.h
diff --git a/defs.h b/defs.h
index fc4fa92bba486f856c4cf826687060eb27c59383..155ef9b09544e075cf8615e040c9c459768ee22e 100644 (file)
--- a/defs.h
+++ b/defs.h
@@ -1,12 +1,14 @@
 #ifndef _MOVIT_DEFS_H
 #define _MOVIT_DEFS_H
 
-// Utility macros that are useful from other heder files.
+// Utility macros that are useful from other header files.
 
 #ifdef __GNUC__
 #define MUST_CHECK_RESULT __attribute__((warn_unused_result))
+#define DOES_NOT_RETURN __attribute__((noreturn))
 #else
 #define MUST_CHECK_RESULT 
+#define DOES_NOT_RETURN
 #endif
 
 #endif  // !defined(_MOVIT_DEFS_H)