[Ffmpeg-devel] [BUG] vorbis decoder

Benjamin Larsson banan
Wed May 10 04:13:28 CEST 2006


Balatoni Denes wrote:

>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
>
>  
>
Ok, I created the log files but they match completely until the decoder
segfaults. The files can be found here:

http://tranquillity.campus.luth.se/~banan/ffmpeg/

Can someone else verify my claims ?

MvH
Benjamin Larsson

-- 
"incorrect information" is an oxymoron. Information is, by definition, factual, correct.





More information about the ffmpeg-devel mailing list