From 2848ce84d29259689547944e35b92ad3ac8b4dab Mon Sep 17 00:00:00 2001 From: Loren Merritt Date: Sat, 29 Apr 2006 00:43:15 +0000 Subject: [PATCH] don't force asserts in release builds. 2% faster h264. Originally committed as revision 5332 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/cabac.h | 2 +- libavcodec/h264.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/cabac.h b/libavcodec/cabac.h index 2e4ec70831..e797741577 100644 --- a/libavcodec/cabac.h +++ b/libavcodec/cabac.h @@ -24,7 +24,7 @@ */ -#undef NDEBUG +//#undef NDEBUG #include #define CABAC_BITS 8 diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 15fdfcfc3a..f49ed76794 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -33,7 +33,7 @@ #include "cabac.h" -#undef NDEBUG +//#undef NDEBUG #include #define interlaced_dct interlaced_dct_is_a_bad_name