vlc | branch: master | Lyndon Brown <jnq...@gmail.com> | Mon Jan 21 02:16:19 
2019 +0000| [b8f2caa8948d938e2498415ab9d3dd512d66fdcb] | committer: 
Jean-Baptiste Kempf

i420_rgb: add missing SSE2_END statements

All six implementations had such statements for MMX, but only four had them
for SSE2. Possibly an oversight back in
f4f90e674b23ba5a949d0bffd942451685d31907

Signed-off-by: Jean-Baptiste Kempf <j...@videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b8f2caa8948d938e2498415ab9d3dd512d66fdcb
---

 modules/video_chroma/i420_rgb16_x86.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/modules/video_chroma/i420_rgb16_x86.c 
b/modules/video_chroma/i420_rgb16_x86.c
index 49a49e36db..cf8babb1ce 100644
--- a/modules/video_chroma/i420_rgb16_x86.c
+++ b/modules/video_chroma/i420_rgb16_x86.c
@@ -1240,6 +1240,9 @@ void I420_B8G8R8A8( filter_t *p_filter, picture_t *p_src, 
picture_t *p_dest )
         }
     }
 
+    /* make sure all SSE2 stores are visible thereafter */
+    SSE2_END;
+
 #else
 
     i_rewind = (-(p_filter->fmt_in.video.i_x_offset + 
p_filter->fmt_in.video.i_visible_width)) & 7;
@@ -1477,6 +1480,9 @@ void I420_A8B8G8R8( filter_t *p_filter, picture_t *p_src, 
picture_t *p_dest )
         }
     }
 
+    /* make sure all SSE2 stores are visible thereafter */
+    SSE2_END;
+
 #else
 
     i_rewind = (-(p_filter->fmt_in.video.i_x_offset + 
p_filter->fmt_in.video.i_visible_width)) & 7;

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to