[vlc-commits] chroma: copy: fix assert when testing

Thomas Guillem git at videolan.org
Tue Nov 21 14:44:20 CET 2017


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Nov 21 14:39:47 2017 +0100| [6223224368e6b5bb978ba3d9d6a08f064719e2ee] | committer: Thomas Guillem

chroma: copy: fix assert when testing

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

 modules/video_chroma/copy.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/modules/video_chroma/copy.c b/modules/video_chroma/copy.c
index 72e6b03783..40fb336b35 100644
--- a/modules/video_chroma/copy.c
+++ b/modules/video_chroma/copy.c
@@ -26,6 +26,10 @@
 # include "config.h"
 #endif
 
+#ifdef COPY_TEST
+# undef NDEBUG
+#endif
+
 #include <vlc_common.h>
 #include <vlc_picture.h>
 #include <vlc_cpu.h>
@@ -887,7 +891,6 @@ int picture_UpdatePlanes(picture_t *picture, uint8_t *data, unsigned pitch)
 }
 
 #ifdef COPY_TEST
-# undef NDEBUG
 
 #include <vlc_picture.h>
 



More information about the vlc-commits mailing list