• Mans Rullgard's avatar
    Fix MMX rgb24 to yuv conversion with gcc 4.6 · 4064d770
    Mans Rullgard authored
    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: 's avatarMans Rullgard <mans@mansr.com>
    (cherry picked from commit f344903c)
    4064d770
swscale_template.c 139 KB