summaryrefslogtreecommitdiff
path: root/libs/ffvpx/libavutil/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ffvpx/libavutil/internal.h')
-rw-r--r--libs/ffvpx/libavutil/internal.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/ffvpx/libavutil/internal.h b/libs/ffvpx/libavutil/internal.h
index 06bd561e8..3a5d1c7bc 100644
--- a/libs/ffvpx/libavutil/internal.h
+++ b/libs/ffvpx/libavutil/internal.h
@@ -52,7 +52,7 @@
#endif
#ifndef emms_c
-# define emms_c() while(0)
+# define emms_c() do {} while(0)
#endif
#ifndef attribute_align_arg
@@ -173,6 +173,8 @@
}\
}
+#define FF_PTR_ADD(ptr, off) ((off) ? (ptr) + (off) : (ptr))
+
#include "libm.h"
/**