diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2003-11-03 18:06:54 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-11-03 18:06:54 +0000 |
commit | 3d0ef6dd52b7db3375249978113847d5dea361a7 (patch) | |
tree | e30f7eaaaaa789048968f9219b3a8b4320ba2b7d /libavcodec/ac3enc.c | |
parent | ea05d9c9c71f916b4dd3c62386286d1da09e0ad6 (diff) | |
download | ffmpeg-streaming-3d0ef6dd52b7db3375249978113847d5dea361a7.zip ffmpeg-streaming-3d0ef6dd52b7db3375249978113847d5dea361a7.tar.gz |
av_log patch(2 of ?) by (Michel Bardiaux <mbardiaux at peaktime dot be>)
Originally committed as revision 2474 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ac3enc.c')
-rw-r--r-- | libavcodec/ac3enc.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/ac3enc.c b/libavcodec/ac3enc.c index 6510d98..25314e3 100644 --- a/libavcodec/ac3enc.c +++ b/libavcodec/ac3enc.c @@ -464,7 +464,7 @@ static void compute_exp_strategy(uint8_t exp_strategy[NB_BLOCKS][AC3_MAX_CHANNEL 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(AV_LOG_DEBUG, "exp_diff=%d\n", exp_diff); + av_log(NULL, AV_LOG_DEBUG, "exp_diff=%d\n", exp_diff); #endif if (exp_diff > EXP_DIFF_THRESHOLD) exp_strategy[i][ch] = EXP_NEW; @@ -580,11 +580,11 @@ static int encode_exp(uint8_t encoded_exp[N/2], } #if defined(DEBUG) - av_log(AV_LOG_DEBUG, "exponents: strategy=%d\n", exp_strategy); + av_log(NULL, AV_LOG_DEBUG, "exponents: strategy=%d\n", exp_strategy); for(i=0;i<=nb_groups * group_size;i++) { - av_log(AV_LOG_DEBUG, "%d ", encoded_exp[i]); + av_log(NULL, AV_LOG_DEBUG, "%d ", encoded_exp[i]); } - av_log(AV_LOG_DEBUG, "\n"); + av_log(NULL, AV_LOG_DEBUG, "\n"); #endif return 4 + (nb_groups / 3) * 7; @@ -1021,7 +1021,7 @@ static void output_audio_block(AC3EncodeContext *s, #if defined(DEBUG) { static int count = 0; - av_log(AV_LOG_DEBUG, "Block #%d (%d)\n", block_num, count++); + av_log(NULL, AV_LOG_DEBUG, "Block #%d (%d)\n", block_num, count++); } #endif /* exponent strategy */ |