[FFmpeg-cvslog] vorbisdec: Restore mistakenly removed debug output.

Diego Biurrun git at videolan.org
Wed Jun 8 05:31:31 CEST 2011


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Tue Jun  7 14:02:38 2011 +0200| [2d9570a304054c009b7f3fee60fff1299f25c7f5] | committer: Diego Biurrun

vorbisdec: Restore mistakenly removed debug output.

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

 libavcodec/vorbisdec.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/libavcodec/vorbisdec.c b/libavcodec/vorbisdec.c
index b969d45..017102e 100644
--- a/libavcodec/vorbisdec.c
+++ b/libavcodec/vorbisdec.c
@@ -20,6 +20,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#include <inttypes.h>
 #include <math.h>
 
 #define ALT_BITSTREAM_READER_LE
@@ -1089,6 +1090,9 @@ static int vorbis_floor0_decode(vorbis_context *vc,
             for (i = 0; i < order; i++)
                 lsp[i] = 2.0f * cos(lsp[i]);
 
+            av_dlog(NULL, "floor0 synth: map_size = %"PRIu32"; m = %d; wstep = %f\n",
+                    vf->map_size[blockflag], order, wstep);
+
             i = 0;
             while (i < vf->map_size[blockflag]) {
                 int j, iter_cond = vf->map[blockflag][i];



More information about the ffmpeg-cvslog mailing list