[FFmpeg-cvslog] avcodec: Remove some commented-out debug cruft

Diego Biurrun git at videolan.org
Wed Aug 21 11:30:42 CEST 2013


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Tue Aug 20 14:25:33 2013 +0200| [2a61592573d725956a4377641344afe263382648] | committer: Diego Biurrun

avcodec: Remove some commented-out debug cruft

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2a61592573d725956a4377641344afe263382648
---

 libavcodec/h264.c            |    1 -
 libavcodec/h264_cabac.c      |    1 -
 libavcodec/h264_cavlc.c      |    1 -
 libavcodec/h264_direct.c     |    1 -
 libavcodec/h264_loopfilter.c |    1 -
 libavcodec/h264_mvpred.h     |    1 -
 libavcodec/h264_ps.c         |    1 -
 libavcodec/h264_refs.c       |    1 -
 libavcodec/h264_sei.c        |    1 -
 libavcodec/mjpegdec.c        |    1 -
 libavcodec/mjpegenc.c        |    1 -
 11 files changed, 11 deletions(-)

diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 77f4fc0..f32af1f 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -44,7 +44,6 @@
 #include "svq3.h"
 #include "thread.h"
 
-// #undef NDEBUG
 #include <assert.h>
 
 const uint16_t ff_h264_mb_sizes[4] = { 256, 384, 512, 768 };
diff --git a/libavcodec/h264_cabac.c b/libavcodec/h264_cabac.c
index c0e3356..79b715f 100644
--- a/libavcodec/h264_cabac.c
+++ b/libavcodec/h264_cabac.c
@@ -41,7 +41,6 @@
 #include "x86/h264_i386.h"
 #endif
 
-//#undef NDEBUG
 #include <assert.h>
 
 /* Cabac pre state table */
diff --git a/libavcodec/h264_cavlc.c b/libavcodec/h264_cavlc.c
index f6abb03..5ed1d5d 100644
--- a/libavcodec/h264_cavlc.c
+++ b/libavcodec/h264_cavlc.c
@@ -35,7 +35,6 @@
 #include "h264_mvpred.h"
 #include "golomb.h"
 
-//#undef NDEBUG
 #include <assert.h>
 
 static const uint8_t golomb_to_inter_cbp_gray[16]={
diff --git a/libavcodec/h264_direct.c b/libavcodec/h264_direct.c
index 719ebee..85fda31 100644
--- a/libavcodec/h264_direct.c
+++ b/libavcodec/h264_direct.c
@@ -32,7 +32,6 @@
 #include "rectangle.h"
 #include "thread.h"
 
-//#undef NDEBUG
 #include <assert.h>
 
 
diff --git a/libavcodec/h264_loopfilter.c b/libavcodec/h264_loopfilter.c
index 278f1f5..b8bf555 100644
--- a/libavcodec/h264_loopfilter.c
+++ b/libavcodec/h264_loopfilter.c
@@ -34,7 +34,6 @@
 #include "mathops.h"
 #include "rectangle.h"
 
-//#undef NDEBUG
 #include <assert.h>
 
 /* Deblocking filter (p153) */
diff --git a/libavcodec/h264_mvpred.h b/libavcodec/h264_mvpred.h
index 586772f..a7545f0 100644
--- a/libavcodec/h264_mvpred.h
+++ b/libavcodec/h264_mvpred.h
@@ -32,7 +32,6 @@
 #include "avcodec.h"
 #include "h264.h"
 
-//#undef NDEBUG
 #include <assert.h>
 
 static av_always_inline int fetch_diagonal_mv(H264Context *h, const int16_t **C,
diff --git a/libavcodec/h264_ps.c b/libavcodec/h264_ps.c
index c6587c7..2bd0aec 100644
--- a/libavcodec/h264_ps.c
+++ b/libavcodec/h264_ps.c
@@ -33,7 +33,6 @@
 #include "golomb.h"
 
 
-//#undef NDEBUG
 #include <assert.h>
 
 #define MAX_LOG2_MAX_FRAME_NUM    (12 + 4)
diff --git a/libavcodec/h264_refs.c b/libavcodec/h264_refs.c
index c791973..3721c2e 100644
--- a/libavcodec/h264_refs.c
+++ b/libavcodec/h264_refs.c
@@ -30,7 +30,6 @@
 #include "h264.h"
 #include "golomb.h"
 
-//#undef NDEBUG
 #include <assert.h>
 
 #define COPY_PICTURE(dst, src) \
diff --git a/libavcodec/h264_sei.c b/libavcodec/h264_sei.c
index dde5c21..f72d72b 100644
--- a/libavcodec/h264_sei.c
+++ b/libavcodec/h264_sei.c
@@ -30,7 +30,6 @@
 #include "h264.h"
 #include "golomb.h"
 
-//#undef NDEBUG
 #include <assert.h>
 
 static const uint8_t sei_num_clock_ts_table[9] = {
diff --git a/libavcodec/mjpegdec.c b/libavcodec/mjpegdec.c
index be32332..7bca899 100644
--- a/libavcodec/mjpegdec.c
+++ b/libavcodec/mjpegdec.c
@@ -30,7 +30,6 @@
  * MJPEG decoder.
  */
 
-// #define DEBUG
 #include <assert.h>
 
 #include "libavutil/imgutils.h"
diff --git a/libavcodec/mjpegenc.c b/libavcodec/mjpegenc.c
index 2a83a20..051cd12 100644
--- a/libavcodec/mjpegenc.c
+++ b/libavcodec/mjpegenc.c
@@ -30,7 +30,6 @@
  * MJPEG encoder.
  */
 
-//#define DEBUG
 #include <assert.h>
 
 #include "avcodec.h"



More information about the ffmpeg-cvslog mailing list