mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2025-02-26 15:57:39 +00:00

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: Mans Rullgard <mans@mansr.com> (cherry picked from commit f344903ca5ce28a833fdd656bc1ed5b16d97e7e9)