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

Michael Niedermayer michaelni at gmx.at
Tue Jul 24 18:15:36 CEST 2012


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 */
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list