Skip to content
Snippets Groups Projects
Commit f344903c authored by Mans Rullgard's avatar Mans Rullgard
Browse files

Fix MMX rgb24 to yuv conversion with gcc 4.6


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.

Signed-off-by: default avatarMans Rullgard <mans@mansr.com>
parent 44b11207
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment