summaryrefslogtreecommitdiff
path: root/libavformat/wtv.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/wtv.c
parent355864ef7a9548ee6491a25de1e0650bd983a667 (diff)
riff: Use the correct logging context
Diffstat (limited to 'libavformat/wtv.c')
-rw-r--r--libavformat/wtv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/wtv.c b/libavformat/wtv.c
index 7fe737ed53..bab61f3422 100644
--- a/libavformat/wtv.c
+++ b/libavformat/wtv.c
@@ -691,7 +691,7 @@ static AVStream * parse_media_type(AVFormatContext *s, AVStream *st, int sid,
if (!st)
return NULL;
if (!ff_guidcmp(formattype, format_waveformatex)) {
- int ret = ff_get_wav_header(pb, st->codec, size);
+ int ret = ff_get_wav_header(s, pb, st->codec, size);
if (ret < 0)
return NULL;
} else {