[Ffmpeg-devel] [BUG] vorbis decoder

Balatoni Denes dbalatoni
Tue May 9 21:51:34 CEST 2006


Hi!

kedd 09 m?jus 2006 19.54-kor Benjamin Larsson ezeket a bolcs gondolatokat 
fogalmazta meg:
> I did a fresh checkout with the same result. Valgrind trace can be seen
> here:
> http://pastebin.com/707606

Thanks, I have no idea what the problem is or how to find it, but that
invalid read in vorbis_parse_setup_hdr_modes  might be the culprit for the 
later crash - does it happen right at the beginning or only late in the 
file ?
If it happens at the begining, and you have time maybe you could try a change 
like the following (switch on debug messages) and send the output if you 
want. 

--------cut here--------------------------------
diff -u -r1.21 vorbis.c
--- vorbis.c    7 May 2006 17:30:00 -0000       1.21
+++ vorbis.c    9 May 2006 18:43:22 -0000
@@ -19,7 +19,8 @@
  *
  */

-#undef V_DEBUG
+#define V_DEBUG
+#define AV_DEBUG(...) av_log(NULL, AV_LOG_INFO, __VA_ARGS__)

 #include <math.h>

----------cut here--------------------


> /Benjamin

thanks
Denes

ps: not surprisingly it works for me on 32 bit x86

-- 
---
What kills me, doesn't make me stronger.





More information about the ffmpeg-devel mailing list