summaryrefslogtreecommitdiff
path: root/libavformat/wavdec.c
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2015-07-11 12:41:42 +0200
committerLuca Barbato <lu_zero@gentoo.org>2015-07-11 18:45:44 +0200
commitd80811c94e068085aab797f9ba35790529126f85 (patch)
tree36b351f1b300f57c899ff17f561f3f087193b632 /libavformat/wavdec.c
parent355864ef7a9548ee6491a25de1e0650bd983a667 (diff)
riff: Use the correct logging context
Diffstat (limited to 'libavformat/wavdec.c')
-rw-r--r--libavformat/wavdec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/wavdec.c b/libavformat/wavdec.c
index f65a66a006..83c860d3cd 100644
--- a/libavformat/wavdec.c
+++ b/libavformat/wavdec.c
@@ -102,7 +102,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;
(*st)->need_parsing = AVSTREAM_PARSE_FULL;
@@ -498,7 +498,7 @@ static int w64_read_header(AVFormatContext *s)
return AVERROR(ENOMEM);
/* 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);