wav: switch to AVSTREAM_PARSE_FULL_RAW
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
fdc371114f
commit
4e7f9ebdc2
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user