summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <[email protected]>2025-09-15 22:18:52 -0300
committerJames Almer <[email protected]>2025-09-15 22:18:52 -0300
commit57a29f2e7dd2374a1df27316c6cf7c0225e86758 (patch)
tree359063e33973c6813ce25af7f7a9569cb19191da
parent162e5a1121609ed62a1af4fcf261b749925945b1 (diff)
avcodec/x86/pngdsp: add missing emms at the end of add_png_paeth_prediction
Fixes unpredictable behavior with floats. Signed-off-by: James Almer <[email protected]>
-rw-r--r--libavcodec/x86/pngdsp.asm1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/x86/pngdsp.asm b/libavcodec/x86/pngdsp.asm
index efaf652cd4..10a1fd648b 100644
--- a/libavcodec/x86/pngdsp.asm
+++ b/libavcodec/x86/pngdsp.asm
@@ -151,6 +151,7 @@ cglobal add_png_paeth_prediction, 5, 7, %1, dst, src, top, w, bpp, end, cntr
dec cntrq
jge .bpp_loop
POP dstq
+ emms
RET
%endmacro