summaryrefslogtreecommitdiff
path: root/libavcodec/mathops.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/mathops.h')
-rw-r--r--libavcodec/mathops.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mathops.h b/libavcodec/mathops.h
index 123fcb76c7..817e4525c7 100644
--- a/libavcodec/mathops.h
+++ b/libavcodec/mathops.h
@@ -45,7 +45,7 @@
/* generic implementation */
#ifndef MULL
-# define MULL(a,b) (((int64_t)(a) * (int64_t)(b)) >> FRAC_BITS)
+# define MULL(a,b,s) (((int64_t)(a) * (int64_t)(b)) >> (s))
#endif
#ifndef MULH