[FFmpeg-devel] [PATCH 1/3] aacenc: use constants to set AAC coder

Timothy Gu timothygu99 at gmail.com
Wed Sep 11 05:28:07 CEST 2013


On Tue, Sep 10, 2013 at 2:59 AM, Stefano Sabatini <stefasab at gmail.com> wrote:

> Yes, and probably while at it also:
>
> AACCoefficientsEncoder ff_aac_coders[AAC_CODER_NB] = {
>     [AAC_CODER_FAAC] = {
>         search_for_quantizers_faac,
>         encode_window_bands_info,
>         quantize_and_encode_band,
>         search_for_ms,
>     },
>     [AAC_CODER_ANMR] = {
>         search_for_quantizers_anmr,
>         encode_window_bands_info,
>         quantize_and_encode_band,
>         search_for_ms,
>     },
>     ...

I honestly didn't know that you can do this before you told me this
(due to my very poor C skills and experience) ...

New patched attached.

[...]

Timothy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-aacenc-add-AAC_CODER_-FAAC-ANMR-etc.-macros.patch
Type: application/octet-stream
Size: 1801 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130910/e3fb61c6/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-aacenc-use-constants-to-set-AAC-coder.patch
Type: application/octet-stream
Size: 1876 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130910/e3fb61c6/attachment-0001.obj>


More information about the ffmpeg-devel mailing list