[FFmpeg-devel] [PATCH 5/7] mp3dec: mark as AVSTREAM_PARSE_FULL_RAW

Reimar Döffinger Reimar.Doeffinger at gmx.de
Tue Jul 24 21:35:42 CEST 2012


On Tue, Jul 24, 2012 at 06:15:37PM +0200, Michael Niedermayer wrote:
> Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> ---
>  libavformat/mp3dec.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libavformat/mp3dec.c b/libavformat/mp3dec.c
> index 5300ab1..f6db77a 100644
> --- a/libavformat/mp3dec.c
> +++ b/libavformat/mp3dec.c
> @@ -167,7 +167,7 @@ static int mp3_read_header(AVFormatContext *s)
>  
>      st->codec->codec_type = AVMEDIA_TYPE_AUDIO;
>      st->codec->codec_id = CODEC_ID_MP3;
> -    st->need_parsing = AVSTREAM_PARSE_FULL;
> +    st->need_parsing = AVSTREAM_PARSE_FULL_RAW;

Shouldn't for consistency all formats be switched to use that?
In particular in rawdec (ff_raw_audio_read_header) and wav?
Additional possible candidates: aacdec, loasdec, omadec.


More information about the ffmpeg-devel mailing list