From 80e8e0f4a5a214de8884be245049b5fbc53cf4aa Mon Sep 17 00:00:00 2001 From: waker Date: Mon, 31 Jan 2011 19:29:57 +0100 Subject: added container support to vfs plugin api --- plugins/ffmpeg/ffmpeg.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/ffmpeg') diff --git a/plugins/ffmpeg/ffmpeg.c b/plugins/ffmpeg/ffmpeg.c index 888a4a84..cda37555 100644 --- a/plugins/ffmpeg/ffmpeg.c +++ b/plugins/ffmpeg/ffmpeg.c @@ -577,7 +577,7 @@ ffmpeg_vfs_open(URLContext *h, const char *filename, int flags) if (f == NULL) return -ENOENT; - if (f->vfs->streaming) { + if (f->vfs->is_streaming ()) { deadbeef->fset_track (f, current_track); if (current_info) { current_info->file = f; @@ -609,9 +609,9 @@ ffmpeg_vfs_seek(URLContext *h, int64_t pos, int whence) DB_FILE *f = h->priv_data; if (whence == AVSEEK_SIZE) { - return f->vfs->streaming ? -1 : deadbeef->fgetlength (h->priv_data); + return f->vfs->is_streaming () ? -1 : deadbeef->fgetlength (h->priv_data); } - else if (f->vfs->streaming) { + else if (f->vfs->is_streaming ()) { return -1; } else { -- cgit v1.2.3