changeset 3284:a224d9752912 libavcodec

don't force asserts in release builds. 2% faster h264.
author lorenm
date Sat, 29 Apr 2006 00:43:15 +0000
parents c53ef1f63575
children d061e145af94
files cabac.h h264.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/cabac.h	Fri Apr 28 23:16:42 2006 +0000
+++ b/cabac.h	Sat Apr 29 00:43:15 2006 +0000
@@ -24,7 +24,7 @@
  */
 
 
-#undef NDEBUG
+//#undef NDEBUG
 #include <assert.h>
 
 #define CABAC_BITS 8
--- a/h264.c	Fri Apr 28 23:16:42 2006 +0000
+++ b/h264.c	Sat Apr 29 00:43:15 2006 +0000
@@ -33,7 +33,7 @@
 
 #include "cabac.h"
 
-#undef NDEBUG
+//#undef NDEBUG
 #include <assert.h>
 
 #define interlaced_dct interlaced_dct_is_a_bad_name