[FFmpeg-devel] Alternate audio bit depth support

Ronald S. Bultje rsbultje
Mon Jun 22 22:04:43 CEST 2009


Hi,

On Mon, Jun 22, 2009 at 3:56 PM, Brian Crowell <brian at fluggo.com> wrote:

> On Mon, Jun 22, 2009 at 2:49 PM, Brian Crowell <brian at fluggo.com> wrote:
> > Excellent, but now I'm confused. Doesn't avcodec_decode_audio3 assume
> > that it's getting 16-bit samples?
>
> Replying to myself. I guess avcodec_decode_audio3 would need to be
> patched to check the format and convert to 16-bit.


I'd rather also see a avcodec_decode_audio4() that does not implicitly
assume that all your audio shall be decoded to int16 at some level.

Ronald



More information about the ffmpeg-devel mailing list