[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec vp3.c,1.71,1.72

matthieu castet castet.matthieu
Sun Nov 13 19:31:50 CET 2005

Alex Beregszaszi wrote:
> Update of /cvsroot/ffmpeg/ffmpeg/libavcodec
> In directory mail:/var2/tmp/cvs-serv28399
> Modified Files:
> 	vp3.c 
> Log Message:
> Fixing theora _again_. DONT BOTHER BREAKING THIS AGAIN. Added support for Theora 3.4 and stream created by Elphel cameras are decodable.

Theora bitstream version 3.2.0 doesn't work anymore with your patch.

Starting program: /home/mat/appli/matroska/ffmpeg/ffplay_g 
[Thread debugging using libthread_db enabled]
[New Thread -1211930944 (LWP 11336)]
[New Thread -1212003408 (LWP 11339)]
[New Thread -1222087760 (LWP 11340)]
[theora @ 0x8353608]Theora bitstream version 3.2.0

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1222087760 (LWP 11340)]
0x080a8cd0 in get_bits_long (s=0xb7285e7c, n=32) at bitstream.h:372
372             return be2me_32( unaligned32(v)); //original
(gdb) bt
#0  0x080a8cd0 in get_bits_long (s=0xb7285e7c, n=32) at bitstream.h:372
#1  0x08247ac1 in theora_decode_init (avctx=0x83eb3e0) at vp3.c:2756
#2  0x080aad45 in avcodec_open (avctx=0x83eb3e0, codec=0x835d3e0)
     at utils.c:832
#3  0x08064451 in av_find_stream_info (ic=0x83da540) at utils.c:1803
#4  0x0805cbb7 in decode_thread (arg=0xb7287020) at ffplay.c:1811
#5  0xb7eb7587 in SDL_RunThread () from /usr/lib/libSDL-1.2.so.0
#6  0xb7eb78bc in SDL_KillThread () from /usr/lib/libSDL-1.2.so.0
#7  0xb7e4de70 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0xb7de298e in clone () from /lib/tls/i686/cmov/libc.so.6
(gdb) The program is running.  Exit anyway? (y or n) y

Commenting theora_decode_comments in theora_decode_init solve the problem.

With theora decoder need to decode comments ?


More information about the ffmpeg-cvslog mailing list