Commit 62232243 authored by Thomas Guillem's avatar Thomas Guillem

chroma: copy: fix assert when testing

parent e1aff467
...@@ -26,6 +26,10 @@ ...@@ -26,6 +26,10 @@
# include "config.h" # include "config.h"
#endif #endif
#ifdef COPY_TEST
# undef NDEBUG
#endif
#include <vlc_common.h> #include <vlc_common.h>
#include <vlc_picture.h> #include <vlc_picture.h>
#include <vlc_cpu.h> #include <vlc_cpu.h>
...@@ -887,7 +891,6 @@ int picture_UpdatePlanes(picture_t *picture, uint8_t *data, unsigned pitch) ...@@ -887,7 +891,6 @@ int picture_UpdatePlanes(picture_t *picture, uint8_t *data, unsigned pitch)
} }
#ifdef COPY_TEST #ifdef COPY_TEST
# undef NDEBUG
#include <vlc_picture.h> #include <vlc_picture.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment