Mercurial > audlegacy-plugins
diff src/wavpack/libwavpack.cxx @ 335:015513ad27d2 trunk
[svn] Goodbye, is_our_file!
author | kiyoshi |
---|---|
date | Tue, 05 Dec 2006 04:02:51 -0800 |
parents | 626f9f4d79a8 |
children | c812e846b84e |
line wrap: on
line diff
--- a/src/wavpack/libwavpack.cxx Tue Dec 05 03:40:04 2006 -0800 +++ b/src/wavpack/libwavpack.cxx Tue Dec 05 04:02:51 2006 -0800 @@ -262,24 +262,6 @@ return FALSE; } -static int -wv_is_our_file(gchar *filename) -{ - VFSFile *file = vfs_fopen(filename, "rb"); - gchar magic[4]; - - if (!file) - return FALSE; - - vfs_fread(magic,1,4,file); - vfs_fclose(file); - - if (!memcmp(magic,"wvpk",4)) - return TRUE; - - return FALSE; -} - void load_tag(ape_tag *tag, WavpackContext *ctx) {