[FFmpeg-devel] [PATCH 4/7] flacdec: mark as AVSTREAM_PARSE_FULL_RAW

Michael Niedermayer michaelni at gmx.at
Thu Jul 26 02:59:26 CEST 2012


On Tue, Jul 24, 2012 at 06:15:36PM +0200, Michael Niedermayer wrote:
> Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> ---
>  libavformat/flacdec.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libavformat/flacdec.c b/libavformat/flacdec.c
> index cd84cc6..08bf538 100644
> --- a/libavformat/flacdec.c
> +++ b/libavformat/flacdec.c
> @@ -165,7 +165,7 @@ static int flac_read_header(AVFormatContext *s)
>          return AVERROR(ENOMEM);
>      st->codec->codec_type = AVMEDIA_TYPE_AUDIO;
>      st->codec->codec_id = CODEC_ID_FLAC;
> -    st->need_parsing = AVSTREAM_PARSE_FULL;
> +    st->need_parsing = AVSTREAM_PARSE_FULL_RAW;
>      /* the parameters will be extracted from the compressed bitstream */
>  
>      /* if fLaC marker is not found, assume there is no header */

applied

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Many things microsoft did are stupid, but not doing something just because
microsoft did it is even more stupid. If everything ms did were stupid they
would be bankrupt already.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120726/6b625d46/attachment.asc>


More information about the ffmpeg-devel mailing list