aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-05-31 21:24:13 +0200
committerDiego Biurrun <diego@biurrun.de>2011-05-31 23:45:14 +0200
commit7e985c9e35f2be426039da9a1696a584ebd57ad0 (patch)
tree075764e5a2fc85e59ee4886f8a0eaac5549e30a7
parentb0a4e5f9e765dc601a62f87cf3510ac381c3c4c6 (diff)
downloadffmpeg-7e985c9e35f2be426039da9a1696a584ebd57ad0.tar.gz
mpegaudioenc: Fix broken av_dlog statement.
-rw-r--r--libavcodec/mpegaudioenc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/mpegaudioenc.c b/libavcodec/mpegaudioenc.c
index 50876ec2a4..ef265c905d 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) */