diff --git a/libavformat/flacdec.c b/libavformat/flacdec.c index cd84cc6ad5..08bf538818 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 */