[FFmpeg-devel] [PATCH][RFC] Fix MMX rgb24 to yuv conversion with gcc 4.6

Ronald S. Bultje rsbultje
Sun Feb 13 02:34:08 CET 2011


Hi,

On Sat, Feb 12, 2011 at 7:20 PM, Mans Rullgard <mans at mansr.com> wrote:
> When built with gcc 4.6, the MMX rgb24 to yuv conversion gives
> wrong output. ?The compiler produces this warning:
>
> libswscale/swscale_template.c:1885:5: warning: use of memory input without lvalue in asm operand 4 is deprecated
>
> Changing the memory operand to a register makes it work, though
> a better solution is perhaps possible.
> ---
> ?libswscale/swscale_template.c | ? 16 ++++++++--------
> ?1 files changed, 8 insertions(+), 8 deletions(-)

Patch OK.

Ronald



More information about the ffmpeg-devel mailing list