projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fe01189
)
avcodec/x86/pngdsp: add missing emms at the end of add_png_paeth_prediction
release/4.3
author
James Almer
<jamrial@gmail.com>
Tue, 16 Sep 2025 01:18:52 +0000
(22:18 -0300)
committer
James Almer
<jamrial@gmail.com>
Tue, 16 Sep 2025 02:48:35 +0000
(23:48 -0300)
Fixes unpredictable behavior with floats.
Signed-off-by: James Almer <jamrial@gmail.com>
(cherry picked from commit
57a29f2e7dd2374a1df27316c6cf7c0225e86758
)
libavcodec/x86/pngdsp.asm
patch
|
blob
|
history
diff --git
a/libavcodec/x86/pngdsp.asm
b/libavcodec/x86/pngdsp.asm
index 50e4255dec0e18581d5aa213a0e10a3ff915c845..726e6bc712b2c1b3406823c998345da685403b82 100644
(file)
--- a/
libavcodec/x86/pngdsp.asm
+++ b/
libavcodec/x86/pngdsp.asm
@@
-163,6
+163,7
@@
cglobal add_png_paeth_prediction, 5, 7, %1, dst, src, top, w, bpp, end, cntr
dec cntrq
jge .bpp_loop
POP dstq
dec cntrq
jge .bpp_loop
POP dstq
+ emms
RET
%endmacro
RET
%endmacro