Mercurial > libavcodec.hg
comparison mpegaudioenc.c @ 9999:c78fd9154378 libavcodec
Change av_log() calls surrounded by '#ifdef DEBUG' into dprintf macros.
author | diego |
---|---|
date | Thu, 30 Jul 2009 21:00:08 +0000 |
parents | 932543edc1d2 |
children | 7955db355703 |
comparison
equal
deleted
inserted
replaced
9998:6b229807a182 | 9999:c78fd9154378 |
---|---|
124 | 124 |
125 /* number of used subbands */ | 125 /* number of used subbands */ |
126 s->sblimit = ff_mpa_sblimit_table[table]; | 126 s->sblimit = ff_mpa_sblimit_table[table]; |
127 s->alloc_table = ff_mpa_alloc_tables[table]; | 127 s->alloc_table = ff_mpa_alloc_tables[table]; |
128 | 128 |
129 #ifdef DEBUG | 129 dprintf(avctx, "%d kb/s, %d Hz, frame_size=%d bits, table=%d, padincr=%x\n", |
130 av_log(avctx, AV_LOG_DEBUG, "%d kb/s, %d Hz, frame_size=%d bits, table=%d, padincr=%x\n", | 130 bitrate, freq, s->frame_size, table, s->frame_frac_incr); |
131 bitrate, freq, s->frame_size, table, s->frame_frac_incr); | |
132 #endif | |
133 | 131 |
134 for(i=0;i<s->nb_channels;i++) | 132 for(i=0;i<s->nb_channels;i++) |
135 s->samples_offset[i] = 0; | 133 s->samples_offset[i] = 0; |
136 | 134 |
137 for(i=0;i<257;i++) { | 135 for(i=0;i<257;i++) { |