summaryrefslogtreecommitdiff
path: root/libavcodec/armv4l
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2007-01-29 22:27:27 +0000
committerMåns Rullgård <mans@mansr.com>2007-01-29 22:27:27 +0000
commit204ce38f539dd26915700613a56e65b6bbd89d45 (patch)
tree5269d358fae9275aecb0041c01f566708b695545 /libavcodec/armv4l
parent34b1b8fda822ad2e142bdc715f5d1d75cdc0fe4a (diff)
typo fix by Dmitry Antipov dmantipov =a= yandex =d= ru
Originally committed as revision 7763 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/armv4l')
-rw-r--r--libavcodec/armv4l/mpegvideo_armv5te.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/armv4l/mpegvideo_armv5te.c b/libavcodec/armv4l/mpegvideo_armv5te.c
index a8d09b8ce2..5e83c8a438 100644
--- a/libavcodec/armv4l/mpegvideo_armv5te.c
+++ b/libavcodec/armv4l/mpegvideo_armv5te.c
@@ -72,7 +72,7 @@ static inline void dct_unquantize_h263_helper_c(DCTELEM *block, int qmul, int qa
int xqmul = xxqmul, xqadd = xxqadd, xcount = xxcount, xtmp; \
int xdata1, xdata2; \
__asm__ __volatile__( \
- "subs %[count], #2 \n\t" \
+ "subs %[count], %[count], #2 \n\t" \
"ble 2f \n\t" \
"ldrd r4, [%[block], #0] \n\t" \
"1: \n\t" \
@@ -128,11 +128,11 @@ __asm__ __volatile__( \
"strh r7, [%[block]], #2 \n\t" \
"strh %[data2], [%[block]], #2 \n\t" \
\
- "subs %[count], #8 \n\t" \
+ "subs %[count], %[count], #8 \n\t" \
"ldrgtd r4, [%[block], #0] \n\t" /* load data early to avoid load/use pipeline stall */ \
"bgt 1b \n\t" \
\
- "adds %[count], #2 \n\t" \
+ "adds %[count], %[count], #2 \n\t" \
"ble 3f \n\t" \
"2: \n\t" \
"ldrsh %[data1], [%[block], #0] \n\t" \