diff options
author | waker <wakeroid@gmail.com> | 2011-02-01 19:53:28 +0100 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2011-02-01 19:53:28 +0100 |
commit | 2269a5ac9fb216494fb3477b67a9240beebad779 (patch) | |
tree | dcc8208365b4a77acd92cba04ab07b854115add6 /vfs_stdio.c | |
parent | 2ded9857eb0e7a37d1a6b2ad1ee2c6f486bf03f3 (diff) |
fixed crashing on is_streaming calls
Diffstat (limited to 'vfs_stdio.c')
-rw-r--r-- | vfs_stdio.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vfs_stdio.c b/vfs_stdio.c index 68d225cd..45008cf5 100644 --- a/vfs_stdio.c +++ b/vfs_stdio.c @@ -93,6 +93,11 @@ stdio_get_content_type (DB_FILE *stream) { return NULL; } +int +stdio_is_streaming (void) { + return 0; +} + // standard stdio vfs static DB_vfs_t plugin = { DB_PLUGIN_SET_API_VERSION @@ -112,6 +117,7 @@ static DB_vfs_t plugin = { .rewind = stdio_rewind, .getlength = stdio_getlength, .get_content_type = stdio_get_content_type, + .is_streaming = stdio_is_streaming }; DB_plugin_t * |