[FFmpeg-devel] [PATCH 5/5] ADTS to AudioSpecificConfig bitstream filter

Diego Biurrun diego
Wed May 13 07:33:37 CEST 2009


On Wed, May 13, 2009 at 01:26:19AM -0400, Alex Converse wrote:
> --- /dev/null
> +++ b/libavcodec/aac_adtstoasc_bsf.c
> @@ -0,0 +1,123 @@
> +/*
> + * copyright (c) 2009 Alex Converse <alex.converse at gmail.com>

Add a short description please.

> +#include "avcodec.h"
> +#include "libavcodec/aac_parser.h"
> +#include "libavcodec/put_bits.h"
> +#include "libavcodec/get_bits.h"
> +#include "libavcodec/aac_copypce.h"
> +#include "libavcodec/internal.h"

pointless prefixes

> +    if (avctx->extradata) {
> +        if (!show_bits(&gb, 12) == 0xfff)
> +            return 0;
> +    }

pointless {}

Diego



More information about the ffmpeg-devel mailing list