[FFmpeg-cvslog] r18327 - trunk/libavcodec/x86/dsputil_mmx.c
reimar
subversion
Fri Apr 3 16:03:49 CEST 2009
Author: reimar
Date: Fri Apr 3 16:03:49 2009
New Revision: 18327
Log:
Mark line_skip3 asm argument as output-only instead of using av_uninit.
Modified:
trunk/libavcodec/x86/dsputil_mmx.c
Modified: trunk/libavcodec/x86/dsputil_mmx.c
==============================================================================
--- trunk/libavcodec/x86/dsputil_mmx.c Fri Apr 3 16:02:34 2009 (r18326)
+++ trunk/libavcodec/x86/dsputil_mmx.c Fri Apr 3 16:03:49 2009 (r18327)
@@ -296,7 +296,7 @@ DECLARE_ASM_CONST(8, uint8_t, ff_vector1
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 @@ void put_signed_pixels_clamped_mmx(const
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");
}
More information about the ffmpeg-cvslog
mailing list