diff --git a/libavcodec/i386/dsputil_mmx_avg.h b/libavcodec/i386/dsputil_mmx_avg.h index 703cd0f2ca5d9cfe3fcde720f952b6541fc234d8..0178144e97446538fef54853197a677fb9378c78 100644 --- a/libavcodec/i386/dsputil_mmx_avg.h +++ b/libavcodec/i386/dsputil_mmx_avg.h @@ -290,7 +290,7 @@ static void DEF(avg_pixels_xy2)(UINT8 *block, const UINT8 *pixels, int line_size "addl %%eax, %2 \n\t" "subl $4, %0 \n\t" "jnz 1b \n\t" - :"+g"(h), "+D"(pixels), "+S"(block) + :"+g"(h), "+S"(pixels), "+D"(block) :"r" (line_size) :"%eax", "memory"); }