vlc | branch: master | Thomas Guillem <[email protected]> | Tue Nov 21 14:39:47 2017 +0100| [612f05a8a568732d02ee25d512b1bc74fe71ec66] | committer: Thomas Guillem
chroma: copy: fix assert when testing > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=612f05a8a568732d02ee25d512b1bc74fe71ec66 --- 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> _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
