don't force asserts in release builds. 2% faster h264.
authorLoren Merritt <lorenm@u.washington.edu>
Sat, 29 Apr 2006 00:43:15 +0000 (00:43 +0000)
committerLoren Merritt <lorenm@u.washington.edu>
Sat, 29 Apr 2006 00:43:15 +0000 (00:43 +0000)
Originally committed as revision 5332 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/cabac.h
libavcodec/h264.c

index 2e4ec708310017f1aeeb0b0b95e830f22c8e05c1..e797741577895d15781e9474d83eee5aa9f6b686 100644 (file)
@@ -24,7 +24,7 @@
  */
 
 
-#undef NDEBUG
+//#undef NDEBUG
 #include <assert.h>
 
 #define CABAC_BITS 8
index 15fdfcfc3abfb24f72d60a6b152da633743fcfbf..f49ed767947ce13a834d7cd3084bb5a495442d7c 100644 (file)
@@ -33,7 +33,7 @@
 
 #include "cabac.h"
 
-#undef NDEBUG
+//#undef NDEBUG
 #include <assert.h>
 
 #define interlaced_dct interlaced_dct_is_a_bad_name