Merge commit 'd80811c94e068085aab797f9ba35790529126f85'
* commit 'd80811c94e068085aab797f9ba35790529126f85':
riff: Use the correct logging context
Conflicts:
libavformat/asfdec_o.c
libavformat/avidec.c
libavformat/dxa.c
libavformat/matroskadec.c
libavformat/mov.c
libavformat/riff.h
libavformat/riffdec.c
libavformat/wavdec.c
libavformat/wtvdec.c
libavformat/xwma.c
Merged-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit ba77fb61f7)
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
This commit is contained in:
committed by
Andreas Cadhalpun
parent
ba944121e2
commit
68c0d66d4d
@@ -128,7 +128,7 @@ static int wav_parse_fmt_tag(AVFormatContext *s, int64_t size, AVStream **st)
|
||||
if (!*st)
|
||||
return AVERROR(ENOMEM);
|
||||
|
||||
ret = ff_get_wav_header(pb, (*st)->codec, size);
|
||||
ret = ff_get_wav_header(s, pb, (*st)->codec, size);
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
handle_stream_probing(*st);
|
||||
@@ -662,7 +662,7 @@ static int w64_read_header(AVFormatContext *s)
|
||||
|
||||
if (!memcmp(guid, ff_w64_guid_fmt, 16)) {
|
||||
/* subtract chunk header size - normal wav file doesn't count it */
|
||||
ret = ff_get_wav_header(pb, st->codec, size - 24);
|
||||
ret = ff_get_wav_header(s, pb, st->codec, size - 24);
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
avio_skip(pb, FFALIGN(size, INT64_C(8)) - size);
|
||||
|
||||
Reference in New Issue
Block a user