[FFmpeg-cvslog] wav: switch to AVSTREAM_PARSE_FULL_RAW
Michael Niedermayer
git at videolan.org
Thu Jul 26 03:10:01 CEST 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Jul 26 02:12:35 2012 +0200| [4e7f9ebdc29f7c0f9e7e361ec54861f643918759] | committer: Michael Niedermayer
wav: switch to AVSTREAM_PARSE_FULL_RAW
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4e7f9ebdc29f7c0f9e7e361ec54861f643918759
---
libavformat/wav.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavformat/wav.c b/libavformat/wav.c
index 928f82d..cb0f7bb 100644
--- a/libavformat/wav.c
+++ b/libavformat/wav.c
@@ -289,7 +289,7 @@ static int wav_parse_fmt_tag(AVFormatContext *s, int64_t size, AVStream **st)
ret = ff_get_wav_header(pb, (*st)->codec, size);
if (ret < 0)
return ret;
- (*st)->need_parsing = AVSTREAM_PARSE_FULL;
+ (*st)->need_parsing = AVSTREAM_PARSE_FULL_RAW;
avpriv_set_pts_info(*st, 64, 1, (*st)->codec->sample_rate);
@@ -771,7 +771,7 @@ static int w64_read_header(AVFormatContext *s)
return ret;
avio_skip(pb, FFALIGN(size, INT64_C(8)) - size);
- st->need_parsing = AVSTREAM_PARSE_FULL;
+ st->need_parsing = AVSTREAM_PARSE_FULL_RAW;
avpriv_set_pts_info(st, 64, 1, st->codec->sample_rate);
More information about the ffmpeg-cvslog
mailing list