diff --git a/stream/stream_ffmpeg.c b/stream/stream_ffmpeg.c index 37c0800369..30d63001d0 100644 --- a/stream/stream_ffmpeg.c +++ b/stream/stream_ffmpeg.c @@ -27,7 +27,7 @@ static int fill_buffer(stream_t *s, char *buffer, int max_len) { - int r = url_read(s->priv, buffer, max_len); + int r = url_read_complete(s->priv, buffer, max_len); return (r <= 0) ? -1 : r; }