aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpegaudioenc.c
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2015-03-16 08:57:36 +0000
committerVittorio Giovara <vittorio.giovara@gmail.com>2015-04-19 12:41:59 +0100
commit6a85dfc830f51f1f5c2d36d4182d265c1ea3ba25 (patch)
treee7c2aefd4766229b73aef86bf3312563f70a658c /libavcodec/mpegaudioenc.c
parent1a3eb042c704dea190c644def5b32c9cee8832b8 (diff)
downloadffmpeg-6a85dfc830f51f1f5c2d36d4182d265c1ea3ba25.tar.gz
lavc: Replace av_dlog and tprintf with internal macros
Diffstat (limited to 'libavcodec/mpegaudioenc.c')
-rw-r--r--libavcodec/mpegaudioenc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/mpegaudioenc.c b/libavcodec/mpegaudioenc.c
index 4e074a582d..7b0261f2cc 100644
--- a/libavcodec/mpegaudioenc.c
+++ b/libavcodec/mpegaudioenc.c
@@ -129,7 +129,7 @@ static av_cold int MPA_encode_init(AVCodecContext *avctx)
s->sblimit = ff_mpa_sblimit_table[table];
s->alloc_table = ff_mpa_alloc_tables[table];
- av_dlog(avctx, "%d kb/s, %d Hz, frame_size=%d bits, table=%d, padincr=%x\n",
+ ff_dlog(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++)
@@ -394,7 +394,7 @@ static void compute_scale_factors(MpegAudioContext *s,
index = 62; /* value 63 is not allowed */
}
- av_dlog(NULL, "%2d:%d in=%x %x %d\n",
+ ff_dlog(NULL, "%2d:%d in=%x %x %d\n",
j, i, vmax, s->scale_factor_table[index], index);
/* store the scale factor */
assert(index >=0 && index <= 63);
@@ -463,7 +463,7 @@ static void compute_scale_factors(MpegAudioContext *s,
code = 0; /* kill warning */
}
- av_dlog(NULL, "%d: %2d %2d %2d %d %d -> %d\n", j,
+ ff_dlog(NULL, "%d: %2d %2d %2d %d %d -> %d\n", j,
sf[0], sf[1], sf[2], d1, d2, code);
scale_code[j] = code;
sf += 3;
@@ -540,7 +540,7 @@ static void compute_bit_allocation(MpegAudioContext *s,
}
if (max_sb < 0)
break;
- av_dlog(NULL, "current=%d max=%d max_sb=%d max_ch=%d alloc=%d\n",
+ ff_dlog(NULL, "current=%d max=%d max_sb=%d max_ch=%d alloc=%d\n",
current_frame_size, max_frame_size, max_sb, max_ch,
bit_alloc[max_ch][max_sb]);