[FFmpeg-devel] [PATCH] add (e)ac3float decoders

Vladimir Pantelic vladoman
Thu Mar 10 16:42:20 CET 2011


Ivan Kalvachev wrote:
> On 3/10/11, FB2000<flybird2k at gmail.com>  wrote:
>>  On Tue, Mar 8, 2011 at 5:27 AM, Michael Niedermayer<michaelni at gmx.at>
>>  wrote:
>>
>>>  On Mon, Mar 07, 2011 at 03:01:46PM -0500, Justin Ruggles wrote:
>>>  >
>>>  >  1) There is no need for separate int16 and float decoders. The AC3
>>>  >  decoder is a floating-point decoder. It just happens to output int16 at
>>>  >  the end.
>>>
>>>  can you send a patch that does this?
>>>
>>>
>>  Well, if these are what wanted. See attached patches for AC3 and DCA.
>
> These patches doesn't seem too intrusive.
> Is it possible to implement selectable output format through
> avctx->get_format() ?
> (or get_sample_format).
>
> Leaving the integer format as default choice and listing the float one
> as second alternative.

+1




More information about the ffmpeg-devel mailing list