[FFmpeg-trac] #1692(avfilter:new): Using atempo filter causes segfault

FFmpeg trac at avcodec.org
Tue Aug 28 11:52:33 CEST 2012


#1692: Using atempo filter causes segfault
------------------------------------+------------------------------------
             Reporter:  takis       |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  avfilter
              Version:  git-master  |               Resolution:
             Keywords:              |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+------------------------------------

Comment (by takis):

 Valgrind shows no errors:

 /usr/local/src/ff/ffmpeg.org/tests$ valgrind ../build-gcc/ffmpeg_g -y -i
 audiogen.wav -af atempo=0.8 asdfasd.wav
 ==27154== Memcheck, a memory error detector
 ==27154== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
 ==27154== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright
 info
 ==27154== Command: ../build-gcc/ffmpeg_g -y -i audiogen.wav -af atempo=0.8
 asdfasd.wav
 ==27154==
 ffmpeg version N-43928-g60924df Copyright (c) 2000-2012 the FFmpeg
 developers
   built on Aug 27 2012 14:19:01 with gcc 4.6 (Ubuntu/Linaro
 4.6.3-1ubuntu5)
   configuration: --enable-avfilter --enable-frei0r --enable-gpl --enable-
 libfaac --enable-libmp3lame --enable-libschroedinger --enable-libspeex
 --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264
 --enable-libxvid --enable-nonfree --enable-pic --enable-pthreads --enable-
 shared --enable-version3 --enable-x11grab
   libavutil      51. 70.100 / 51. 70.100
   libavcodec     54. 54.100 / 54. 54.100
   libavformat    54. 25.104 / 54. 25.104
   libavdevice    54.  2.100 / 54.  2.100
   libavfilter     3. 13.101 /  3. 13.101
   libswscale      2.  1.101 /  2.  1.101
   libswresample   0. 15.100 /  0. 15.100
   libpostproc    52.  0.100 / 52.  0.100
 [wav @ 0xd6c1380] max_analyze_duration 5000000 reached at 5015510
 Guessed Channel Layout for  Input Stream #0.0 : stereo
 Input #0, wav, from 'audiogen.wav':
   Duration: 00:00:06.00, bitrate: 1411 kb/s
     Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz,
 stereo, s16, 1411 kb/s
 Output #0, wav, to 'asdfasd.wav':
   Metadata:
     encoder         : Lavf54.25.104
     Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz,
 stereo, s16, 1411 kb/s
 Stream mapping:
   Stream #0:0 -> #0:0 (pcm_s16le -> pcm_s16le)
 Press [q] to stop, [?] for help
 size=    1291kB time=00:00:07.49 bitrate=1411.2kbits/s
 video:0kB audio:1291kB subtitle:0 global headers:0kB muxing overhead
 0.003480%
 ==27154==
 ==27154== HEAP SUMMARY:
 ==27154==     in use at exit: 0 bytes in 0 blocks
 ==27154==   total heap usage: 4,677 allocs, 4,677 frees, 5,608,663 bytes
 allocated
 ==27154==
 ==27154== All heap blocks were freed -- no leaks are possible
 ==27154==
 ==27154== For counts of detected and suppressed errors, rerun with: -v
 ==27154== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 2 from 2)

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1692#comment:3>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list