AC3 encoding patch ba (Ross Martin <ffmpeg at ross dot interwrx dot com>)