aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder
diff options
context:
space:
mode:
Diffstat (limited to 'src/decoder')
-rw-r--r--src/decoder/ffmpeg_plugin.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/decoder/ffmpeg_plugin.c b/src/decoder/ffmpeg_plugin.c
index 96ea2e5be..2be97f62a 100644
--- a/src/decoder/ffmpeg_plugin.c
+++ b/src/decoder/ffmpeg_plugin.c
@@ -86,7 +86,8 @@ static int mpdurl_read(URLContext *h, unsigned char *buf, int size)
FopsHelper *base = (FopsHelper *) h->priv_data;
while (true) {
- size_t ret = input_stream_read(base->input, (void *)buf, size);
+ size_t ret = decoder_read(base->decoder, base->input,
+ (void *)buf, size);
if (ret > 0)
return ret;