This bug was filed against the Ubuntu package (https://launchpad.net/bugs/665802) and it affects Debian Squeeze too.
I've tried to reproduce it and here is the result:
alessio@alessio-laptop:~$ faad -b 2 -f 2 -w sample.aac
*********** Ahead Software MPEG-4 AAC Decoder V2.7 ******************
Build: Oct 26 2009
Copyright 2002-2004: Ahead Software AG
http://www.audiocoding.com
Floating point version
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License.
**************************************************************************
sample.aac file info:
ADTS, 4.608 sec, 13 kbps, 16000 Hz
---------------------
| Config: 2 Ch |
---------------------
| Ch | Position |
---------------------
| 00 | Left front |
| 01 | Right front |
---------------------
Segmentation fault.aac.
A patch to fix this is available on Launchpad, I'm attaching it here.
Thanks in advance.
Could you please apply this one too?
I think we should use something like u_int32_t here.
Yes, probably. I currently have no 64-bit system to try out.