You've already forked FFmpeg
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:
@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user