aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ac3enc.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-07-30 21:00:08 +0000
committerDiego Biurrun <diego@biurrun.de>2009-07-30 21:00:08 +0000
commit8b44de14d1fa363fa7fe18d015ead0017a0177c8 (patch)
treea4ddabf3ea7c9fa492b3448341678aba350af933 /libavcodec/ac3enc.c
parent7881793dd0b83bf96ef83c4780da6baeb255406e (diff)
downloadffmpeg-8b44de14d1fa363fa7fe18d015ead0017a0177c8.tar.gz
Change av_log() calls surrounded by '#ifdef DEBUG' into dprintf macros.
Originally committed as revision 19550 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ac3enc.c')
-rw-r--r--libavcodec/ac3enc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/ac3enc.c b/libavcodec/ac3enc.c
index 7d12e04b30..5384fdc4c9 100644
--- a/libavcodec/ac3enc.c
+++ b/libavcodec/ac3enc.c
@@ -250,9 +250,7 @@ static void compute_exp_strategy(uint8_t exp_strategy[NB_BLOCKS][AC3_MAX_CHANNEL
exp_strategy[0][ch] = EXP_NEW;
for(i=1;i<NB_BLOCKS;i++) {
exp_diff = calc_exp_diff(exp[i][ch], exp[i-1][ch], N/2);
-#ifdef DEBUG
- av_log(NULL, AV_LOG_DEBUG, "exp_diff=%d\n", exp_diff);
-#endif
+ dprintf(NULL, "exp_diff=%d\n", exp_diff);
if (exp_diff > EXP_DIFF_THRESHOLD)
exp_strategy[i][ch] = EXP_NEW;
else