changeset 9341:06532529c428 libavcodec

Mark line_skip3 asm argument as output-only instead of using av_uninit.
author reimar
date Fri, 03 Apr 2009 14:03:49 +0000
parents e9d9f8094e7f
children 7f594601d5e9
files x86/dsputil_mmx.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/x86/dsputil_mmx.c	Fri Apr 03 14:02:34 2009 +0000
+++ b/x86/dsputil_mmx.c	Fri Apr 03 14:03:49 2009 +0000
@@ -296,7 +296,7 @@
 void put_signed_pixels_clamped_mmx(const DCTELEM *block, uint8_t *pixels, int line_size)
 {
     x86_reg line_skip = line_size;
-    x86_reg av_uninit(line_skip3);
+    x86_reg line_skip3;
 
     __asm__ volatile (
             "movq "MANGLE(ff_vector128)", %%mm0 \n\t"
@@ -304,7 +304,7 @@
             put_signed_pixels_clamped_mmx_half(0)
             "lea (%0, %3, 4), %0                \n\t"
             put_signed_pixels_clamped_mmx_half(64)
-            :"+&r" (pixels), "+&r" (line_skip3)
+            :"+&r" (pixels), "=&r" (line_skip3)
             :"r" (block), "r"(line_skip)
             :"memory");
 }