From 7e985c9e35f2be426039da9a1696a584ebd57ad0 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Tue, 31 May 2011 21:24:13 +0200 Subject: [PATCH] mpegaudioenc: Fix broken av_dlog statement. --- libavcodec/mpegaudioenc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavcodec/mpegaudioenc.c b/libavcodec/mpegaudioenc.c index 50876ec..ef265c9 100644 --- a/libavcodec/mpegaudioenc.c +++ b/libavcodec/mpegaudioenc.c @@ -544,11 +544,11 @@ static void compute_bit_allocation(MpegAudioContext *s, } } } - av_dlog(NULL, "current=%d max=%d max_sb=%d alloc=%d\n", - current_frame_size, max_frame_size, max_sb, - bit_alloc[max_sb]); if (max_sb < 0) break; + av_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]); /* find alloc table entry (XXX: not optimal, should use pointer table) */ -- 2.7.4