diff options
author | Måns Rullgård <mans@mansr.com> | 2006-09-26 18:31:43 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2006-09-26 18:31:43 +0000 |
commit | 89cba1bd7db840b1c1b964ec35645cb77ec30d64 (patch) | |
tree | a926bfdb5b42961e95aa34a5d81021ce04c6bc3e /libavcodec/armv4l/mathops.h | |
parent | 6c17a956b4197b15da45317dd34339dcc55d53b1 (diff) | |
download | ffmpeg-89cba1bd7db840b1c1b964ec35645cb77ec30d64.tar.gz |
fix MUL16 macro
Originally committed as revision 6344 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/armv4l/mathops.h')
-rw-r--r-- | libavcodec/armv4l/mathops.h | 6 |
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 |