Mercurial > libavcodec.hg
comparison mpegaudio.c @ 1598:932d306bf1dc libavcodec
av_log() patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)
author | michael |
---|---|
date | Mon, 03 Nov 2003 13:26:22 +0000 |
parents | 79dddc5cd990 |
children | fdb8244da1e5 |
comparison
equal
deleted
inserted
replaced
1597:4c9165372ab3 | 1598:932d306bf1dc |
---|---|
115 /* number of used subbands */ | 115 /* number of used subbands */ |
116 s->sblimit = sblimit_table[table]; | 116 s->sblimit = sblimit_table[table]; |
117 s->alloc_table = alloc_tables[table]; | 117 s->alloc_table = alloc_tables[table]; |
118 | 118 |
119 #ifdef DEBUG | 119 #ifdef DEBUG |
120 printf("%d kb/s, %d Hz, frame_size=%d bits, table=%d, padincr=%x\n", | 120 av_log(AV_LOG_DEBUG, "%d kb/s, %d Hz, frame_size=%d bits, table=%d, padincr=%x\n", |
121 bitrate, freq, s->frame_size, table, s->frame_frac_incr); | 121 bitrate, freq, s->frame_size, table, s->frame_frac_incr); |
122 #endif | 122 #endif |
123 | 123 |
124 for(i=0;i<s->nb_channels;i++) | 124 for(i=0;i<s->nb_channels;i++) |
125 s->samples_offset[i] = 0; | 125 s->samples_offset[i] = 0; |