changeset 335:015513ad27d2 trunk

[svn] Goodbye, is_our_file!
author kiyoshi
date Tue, 05 Dec 2006 04:02:51 -0800
parents a9f1bd76a3e6
children 8554beb862c0
files ChangeLog src/wavpack/libwavpack.cxx
diffstat 2 files changed, 10 insertions(+), 18 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Dec 05 03:40:04 2006 -0800
+++ b/ChangeLog	Tue Dec 05 04:02:51 2006 -0800
@@ -1,3 +1,13 @@
+2006-12-05 11:40:04 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [732]
+  - apply_xform(): check for NULL vfield (broken scripts)
+  - add tan(), asin(), acos(), atan(), log() to script engine.
+  
+  trunk/src/paranormal/libcalc/function.c |   25 +++++++++++++++++++++++++
+  trunk/src/paranormal/xform.c            |    3 +++
+  2 files changed, 28 insertions(+)
+
+
 2006-12-05 10:16:09 +0000  William Pitcock <nenolod@nenolod.net>
   revision [730]
   - add Trans / Movement implementation
--- 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) 
 {