diff src/alac/plugin.c @ 1978:fa9f85cebade

s/vfs_/aud_vfs_/g
author William Pitcock <nenolod@atheme.org>
date Sun, 07 Oct 2007 00:25:33 -0500
parents 5fa26178eaef
children 839804c3b3a4
line wrap: on
line diff
--- a/src/alac/plugin.c	Sun Oct 07 00:23:19 2007 -0500
+++ b/src/alac/plugin.c	Sun Oct 07 00:25:33 2007 -0500
@@ -148,14 +148,14 @@
     VFSFile *input_file;
     stream_t *input_stream;
 
-    input_file = vfs_fopen(filename, "rb");
+    input_file = aud_vfs_fopen(filename, "rb");
     input_stream = stream_create_file(input_file, 1);
 
     set_endian();
 
     if (!input_stream)
     {
-	vfs_fclose(input_file);
+	aud_vfs_fclose(input_file);
         return NULL;
     }
 
@@ -164,12 +164,12 @@
     if (!qtmovie_read(input_stream, &demux_res))
     {
         stream_destroy(input_stream);
-        vfs_fclose(input_file);
+        aud_vfs_fclose(input_file);
         return NULL;
     }
 
     stream_destroy(input_stream);
-    vfs_fclose(input_file);
+    aud_vfs_fclose(input_file);
 
     return build_aud_tuple_from_demux(&demux_res, filename);
 }
@@ -303,7 +303,7 @@
     .seek = seek,
     .get_song_tuple = build_tuple,
     .is_our_file_from_vfs = is_our_fd,
-    .vfs_extensions = fmts,
+    .aud_vfs_extensions = fmts,
 };
 
 InputPlugin *alac_iplist[] = { &alac_ip, NULL };
@@ -323,7 +323,7 @@
 
     set_endian();
 
-    input_file = vfs_fopen((char *) args, "rb");
+    input_file = aud_vfs_fopen((char *) args, "rb");
     input_stream = stream_create_file(input_file, 1);
 
     if (!input_stream)
@@ -359,7 +359,7 @@
     stream_destroy(input_stream);
 
     if (input_opened)
-        vfs_fclose(input_file);
+        aud_vfs_fclose(input_file);
 
     playback->output->close_audio();