[FFmpeg-cvslog] r14671 - in trunk: Makefile tests/ffmpeg.regression.ref tests/regression.sh tests/rotozoom.regression.ref

Mike Melanson mike
Sun Aug 10 17:45:01 CEST 2008


pross wrote:
> Author: pross
> Date: Sat Aug  9 01:31:43 2008
> New Revision: 14671
> 
> Log:
> PCM regression tests.
> 
> 
> Modified:
>    trunk/Makefile
>    trunk/tests/ffmpeg.regression.ref
>    trunk/tests/regression.sh
>    trunk/tests/rotozoom.regression.ref

This broke regressions on a lot of configurations (not sure why it 
didn't break them all):

   http://fate.multimedia.cx/

Here is the first failure point for x86_32/GCC 4.3.1 as well as 
x86_64/gcc-SVN:

./ffmpeg_g -y -flags +bitexact -dct fastint -idct simple -ab 128k -ac 2 
-f s16le -i tests/asynth1.sw -sample_fmt flt -acodec pcm_f32be 
./tests/data/a-pcm_f32be.au

It segfaults. This is the backtrace from the x86_64 configuration:

Program received signal SIGSEGV, Segmentation fault.
pcm_encode_frame (avctx=0xdbfd10, frame=0x7f97461f0010 "",
     buf_size=<value optimized out>, data=0x7f974616f010)
     at /home/melanson/fate/source/libavcodec/bytestream.h:47
47      DEF  (be32, 4, AV_RB32, AV_WB32)
(gdb) bt
#0  pcm_encode_frame (avctx=0xdbfd10, frame=0x7f97461f0010 "",
     buf_size=<value optimized out>, data=0x7f974616f010)
     at /home/melanson/fate/source/libavcodec/bytestream.h:47
#1  0x000000000049b3a9 in avcodec_encode_audio (avctx=0xdbfd10,
     buf=0x27 <Address 0x27 out of bounds>, buf_size=0, samples=0x800)
     at /home/melanson/fate/source/libavcodec/utils.c:869
#2  0x000000000041a6f5 in output_packet (ist=0xdbeba0, ist_index=0,
     ost_table=0xdc8260, nb_ostreams=1, pkt=0x7fff4e32e2c0)
     at /home/melanson/fate/source/ffmpeg.c:703
#3  0x000000000041d8bd in av_encode (output_files=0xb53660, 
nb_output_files=1,
     input_files=0xb528a0, nb_input_files=1, stream_maps=0xb53700,
     nb_stream_maps=0) at /home/melanson/fate/source/ffmpeg.c:2123
#4  0x000000000041dde7 in main (argc=<value optimized out>,
     argv=<value optimized out>) at /home/melanson/fate/source/ffmpeg.c:3921

-- 
	-Mike Melanson




More information about the ffmpeg-cvslog mailing list