summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2006-09-26 18:31:43 +0000
committerMåns Rullgård <mans@mansr.com>2006-09-26 18:31:43 +0000
commit89cba1bd7db840b1c1b964ec35645cb77ec30d64 (patch)
treea926bfdb5b42961e95aa34a5d81021ce04c6bc3e
parent6c17a956b4197b15da45317dd34339dcc55d53b1 (diff)
downloadffmpeg-89cba1bd7db840b1c1b964ec35645cb77ec30d64.tar.gz
fix MUL16 macro
Originally committed as revision 6344 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/armv4l/mathops.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/armv4l/mathops.h b/libavcodec/armv4l/mathops.h
index 26a63ee28b..46bab89050 100644
--- a/libavcodec/armv4l/mathops.h
+++ b/libavcodec/armv4l/mathops.h
@@ -39,9 +39,9 @@
# define MAC16(rt, ra, rb) \
asm ("smlabb %0, %2, %3, %0" : "=r" (rt) : "0" (rt), "r" (ra), "r" (rb));
/* signed 16x16 -> 32 multiply */
-# define MUL16(ra, rb) \
- ({ int __rt;\
- asm ("smulbb %0, %1, %2" : "=r" (__rt) : "r" (ra), "r" (rb));
+# define MUL16(ra, rb) \
+ ({ int __rt; \
+ asm ("smulbb %0, %1, %2" : "=r" (__rt) : "r" (ra), "r" (rb)); \
__rt; })
#endif