[FFmpeg-cvslog] mpegaudioenc: Fix broken av_dlog statement.

Diego Biurrun git at videolan.org
Thu Jun 2 05:18:56 CEST 2011


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Tue May 31 21:24:13 2011 +0200| [7e985c9e35f2be426039da9a1696a584ebd57ad0] | committer: Diego Biurrun

mpegaudioenc: Fix broken av_dlog statement.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7e985c9e35f2be426039da9a1696a584ebd57ad0
---

 libavcodec/mpegaudioenc.c |    6 +++---
 1 files 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) */



More information about the ffmpeg-cvslog mailing list