summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoren Merritt <lorenm@u.washington.edu>2006-04-29 00:43:15 +0000
committerLoren Merritt <lorenm@u.washington.edu>2006-04-29 00:43:15 +0000
commit2848ce84d29259689547944e35b92ad3ac8b4dab (patch)
tree4c3dbdc5664af8a9436e93b6081a117723493f0f
parent0c2aaa882d124f05b7bf0a4a4abba3293f4d6d84 (diff)
don't force asserts in release builds. 2% faster h264.
Originally committed as revision 5332 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/cabac.h2
-rw-r--r--libavcodec/h264.c2
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 <assert.h>
#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 <assert.h>
#define interlaced_dct interlaced_dct_is_a_bad_name