[FFmpeg-devel] [PATCH] ADTS AAC with ID3v2

Diego Biurrun diego
Wed Jan 14 08:48:13 CET 2009


On Wed, Jan 14, 2009 at 12:23:00AM -0500, Alex Converse wrote:
> 
> The attached patch adds support to the ADTS AAC probe to detect AAC files
> with ID3v2 tags at a higher level than the MP3 probe and the MPC probe. It
> refactors some id3 detection from mp3.c into id3v2.c.
> 
> --- /dev/null
> +++ b/libavformat/id3v2.c
> @@ -0,0 +1,35 @@
> +/*
> + * ID3v2 header parser
> + * Copyright (c) 2003 Fabrice Bellard.

Drop the silly period.

> --- /dev/null
> +++ b/libavformat/id3v2.h
> @@ -0,0 +1,30 @@
> +/*
> + * ID3v2 header parser
> + * Copyright (c) 2003 Fabrice Bellard.

ditto

> +#include <stdint.h>

multiple inclusion guards

> --- a/libavformat/raw.c
> +++ b/libavformat/raw.c
> @@ -26,6 +26,10 @@
>  #include "raw.h"
> +#if CONFIG_AAC_DEMUXER
> +#include "id3v2.h"
> +#endif

pointless #if

Diego




More information about the ffmpeg-devel mailing list