changeset 737:eecd54a11610 trunk

[svn] - use vfs_buffered_file_new_from_uri for probing.
author nenolod
date Tue, 27 Feb 2007 03:45:34 -0800
parents f7a3d66d9911
children 6ea974a229a8
files ChangeLog src/aac/src/libmp4.c
diffstat 2 files changed, 11 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Feb 27 02:17:56 2007 -0800
+++ b/ChangeLog	Tue Feb 27 03:45:34 2007 -0800
@@ -1,3 +1,11 @@
+2007-02-27 10:17:56 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
+  revision [1570]
+  - fix configure.ac lrintf check
+  
+  trunk/configure.ac |    6 ++++--
+  1 file changed, 4 insertions(+), 2 deletions(-)
+
+
 2007-02-27 09:40:23 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [1568]
   - sync audacious-sid with latest xmms-sid, from Matti Hamalainen (ccr).
--- a/src/aac/src/libmp4.c	Tue Feb 27 02:17:56 2007 -0800
+++ b/src/aac/src/libmp4.c	Tue Feb 27 03:45:34 2007 -0800
@@ -17,6 +17,8 @@
 
 #define SBR_DEC
 
+extern VFSFile *vfs_buffered_file_new_from_uri(gchar *uri);
+
 /*
  * BUFFER_SIZE is the highest amount of memory that can be pulled.
  * We use this for sanity checks, among other things, as mp4ff needs
@@ -826,7 +828,7 @@
     InputPlayback *playback = args;
     char *filename = playback->filename;
 
-    mp4fh = vfs_fopen(filename, "rb");
+    mp4fh = vfs_buffered_file_new_from_uri(filename);
     mp4cb->read = mp4_read_callback;
     mp4cb->seek = mp4_seek_callback;
     mp4cb->user_data = mp4fh;