diff options
author | Diego Biurrun <diego@biurrun.de> | 2009-07-30 21:00:08 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2009-07-30 21:00:08 +0000 |
commit | 8b44de14d1fa363fa7fe18d015ead0017a0177c8 (patch) | |
tree | a4ddabf3ea7c9fa492b3448341678aba350af933 /libavcodec/mpegaudioenc.c | |
parent | 7881793dd0b83bf96ef83c4780da6baeb255406e (diff) | |
download | ffmpeg-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/mpegaudioenc.c')
-rw-r--r-- | libavcodec/mpegaudioenc.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libavcodec/mpegaudioenc.c b/libavcodec/mpegaudioenc.c index de3081e2bf..f48d4c8ba6 100644 --- a/libavcodec/mpegaudioenc.c +++ b/libavcodec/mpegaudioenc.c @@ -126,10 +126,8 @@ static av_cold int MPA_encode_init(AVCodecContext *avctx) s->sblimit = ff_mpa_sblimit_table[table]; s->alloc_table = ff_mpa_alloc_tables[table]; -#ifdef DEBUG - av_log(avctx, AV_LOG_DEBUG, "%d kb/s, %d Hz, frame_size=%d bits, table=%d, padincr=%x\n", - bitrate, freq, s->frame_size, table, s->frame_frac_incr); -#endif + dprintf(avctx, "%d kb/s, %d Hz, frame_size=%d bits, table=%d, padincr=%x\n", + bitrate, freq, s->frame_size, table, s->frame_frac_incr); for(i=0;i<s->nb_channels;i++) s->samples_offset[i] = 0; |