[FFmpeg-devel] [FFmpeg-commits] aacenc: mark SBR absent

Rob robert.swain
Sun Jan 23 02:51:44 CET 2011


On 22 January 2011 15:55, Alex Converse <git at ffmpeg.org> wrote:
> Module: ffmpeg
> Branch: master
> Commit: 8ae0fa243e1f7a03cb5f23e2d9a32d3cc88b4def
>
> Author: Alex Converse <alex.converse at gmail.com>
> Date: ? Sat Jan 22 05:23:43 2011 +0000
>
> aacenc: mark SBR absent
>
> Use backwards compatible explicit signalling to denote the absence of
> SBR.
>
> Signed-off-by: Janne Grunau <janne-ffmpeg at jannau.net>
>
> ---
>
> ?libavcodec/aacenc.c | ? ?9 +++++++--
> ?1 files changed, 7 insertions(+), 2 deletions(-)
>
> diff --git a/libavcodec/aacenc.c b/libavcodec/aacenc.c
> index c52ffa0..f8f0eb4 100644
> --- a/libavcodec/aacenc.c
> +++ b/libavcodec/aacenc.c
> @@ -149,6 +149,11 @@ static void put_audio_specific_config(AVCodecContext *avctx)
> ? ? put_bits(&pb, 1, 0); //frame length - 1024 samples
> ? ? put_bits(&pb, 1, 0); //does not depend on core coder
> ? ? put_bits(&pb, 1, 0); //is not extension
> +
> + ? ?//Explicitly Mark SBR absent
> + ? ?put_bits(&pb, 11, 0x27b); //sync extension

I didn't have the specs to hand when I first saw this mail. Now I have
checked the subpart 1 spec and this should be 0x2b7.

Regards,
Rob



More information about the ffmpeg-devel mailing list