1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-04 22:03:09 +02:00

avfilter/x86/vf_colordetect: don't use rax to return a 32bit integer

Fixes compilation on x86_32 targets

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer
2025-07-21 16:55:47 -03:00
parent 14f4478354
commit fdca209f1f

View File

@ -65,7 +65,7 @@ cglobal detect_range%1, 4, 7, 5, data, stride, width, height, mpeg_min, mpeg_max
jg .lineloop jg .lineloop
.end: .end:
setnz al setnz al
movzx rax, al movzx eax, al
RET RET
%endmacro %endmacro
@ -125,11 +125,11 @@ cglobal detect_alpha%1_%3, 6, 7, 6, color, color_stride, alpha, alpha_stride, wi
add alphaq, alpha_strideq add alphaq, alpha_strideq
dec heightq dec heightq
jg .lineloop jg .lineloop
xor rax, rax xor eax, eax
RET RET
.found: .found:
mov rax, 1 mov eax, 1
RET RET
%endmacro %endmacro