[FFmpeg-devel] [PATCH] aconvert filter needs to configure samplerates

Andrew Wason rectalogic at rectalogic.com
Mon Jun 4 20:00:45 CEST 2012


aconvert filter causes a crash when merging formats because it doesn't
configure samplerates.

ffmpeg -i test.mov -af aresample=8000,aconvert -f s16le -vn -y /tmp/c.raw

In gdb:
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000
0x000000010005fb38 in ff_merge_samplerates (a=0x10321ea30, b=0x0) at
formats.c:114
114	    if (a->format_count && b->format_count) {


Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aconvert.diff
Type: application/octet-stream
Size: 504 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120604/0b752a8e/attachment.obj>


More information about the ffmpeg-devel mailing list