Mercurial > audlegacy
changeset 3855:a9b7b4145664
Automated merge with ssh://hg.atheme.org//hg/audacious
author | William Pitcock <nenolod@atheme.org> |
---|---|
date | Sat, 27 Oct 2007 07:05:12 -0500 |
parents | faba4117b0d0 (diff) 15675ec44374 (current diff) |
children | de26ea4a42fc b7ecd8c438ad |
files | |
diffstat | 2 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/audacious/vfs.c Sat Oct 27 13:33:58 2007 +0200 +++ b/src/audacious/vfs.c Sat Oct 27 07:05:12 2007 -0500 @@ -475,9 +475,7 @@ if(!file) return FALSE; - curpos = file->base->vfs_ftell_impl(file); size = file->base->vfs_fsize_impl(file); - file->base->vfs_fseek_impl(file, curpos, SEEK_SET); if(size == -1) return TRUE;
--- a/src/audacious/vfs_buffered_file.c Sat Oct 27 13:33:58 2007 +0200 +++ b/src/audacious/vfs_buffered_file.c Sat Oct 27 07:05:12 2007 -0500 @@ -221,7 +221,7 @@ handle = g_new0(VFSFile, 1); fd = g_new0(VFSBufferedFile, 1); - fd->mem = g_malloc0(40000); + fd->mem = g_malloc0(128000); fd->fd = vfs_fopen(uri, "rb"); if (fd->fd == NULL) @@ -233,7 +233,7 @@ return NULL; } - sz = vfs_fread(fd->mem, 1, 40000, fd->fd); + sz = vfs_fread(fd->mem, 1, 128000, fd->fd); vfs_rewind(fd->fd); if (!sz)