[FFmpeg-devel] [PATCH] Parsing ALS object type in MPEG-4

Diego Biurrun diego
Thu Aug 20 09:55:37 CEST 2009


On Thu, Aug 20, 2009 at 12:43:12AM +0200, Thilo Borgmann wrote:
> 
> the first part of my GSoC project adds support for parsing
> ALSSpecificConfig within AudioSpecificConfig.
> 
> --- libavcodec/mpeg4audio.c	(revision 19671)
> +++ libavcodec/mpeg4audio.c	(working copy)
> @@ -24,6 +24,34 @@
>  
> +    // read number of channels
> +    c->chan_config = 0;
> +    c->channels = get_bits(gb, 16) + 1;

align

> @@ -71,8 +99,19 @@
>  
> +        if (show_bits_long(&gb, 24) != 0x414C53) {
> +            skip_bits_long(&gb, 24);
> +        }

useless {}

Diego



More information about the ffmpeg-devel mailing list