Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-04-03 18:03:49 +0400
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-04-03 18:03:49 +0400
commit0be9e73e3807edfc63bccb7645a99beab4d00c9b (patch)
tree5e7c006382ffb931d5a983df5a0545f0539bcfbc /libavcodec
parentd7460a9cace855e350d111ac0259ec4f72554510 (diff)
Mark line_skip3 asm argument as output-only instead of using av_uninit.
Originally committed as revision 18327 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/x86/dsputil_mmx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/x86/dsputil_mmx.c b/libavcodec/x86/dsputil_mmx.c
index b8e063ec83..a3d7ff1a2c 100644
--- a/libavcodec/x86/dsputil_mmx.c
+++ b/libavcodec/x86/dsputil_mmx.c
@@ -296,7 +296,7 @@ DECLARE_ASM_CONST(8, uint8_t, ff_vector128[8]) =
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 DCTELEM *block, uint8_t *pixels, int li
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");
}