changeset 905:987eebc33408 trunk

[svn] - for security reasons, do not try all of the players (only check extension)
author nenolod
date Sat, 31 Mar 2007 06:40:00 -0700
parents 4a2e5c1e7c3b
children 16e51fb5908e
files ChangeLog src/adplug/core/adplug.cxx
diffstat 2 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Mar 30 06:37:26 2007 -0700
+++ b/ChangeLog	Sat Mar 31 06:40:00 2007 -0700
@@ -1,3 +1,12 @@
+2007-03-30 13:37:26 +0000  Michael Farber <01mf02@gmail.com>
+  revision [1908]
+  - Added option to save output files to original file directory
+  
+  
+  trunk/src/disk_writer/disk_writer.c |  578 +++++++++++++++++++-----------------
+  1 file changed, 314 insertions(+), 264 deletions(-)
+
+
 2007-03-30 08:52:06 +0000  Giacomo Lozito <james@develia.org>
   revision [1906]
   - flac: when bitrate update is disabled, always display VBR instead of a useless value
--- a/src/adplug/core/adplug.cxx	Fri Mar 30 06:37:26 2007 -0700
+++ b/src/adplug/core/adplug.cxx	Sat Mar 31 06:40:00 2007 -0700
@@ -149,6 +149,7 @@
 	    delete p;
       }
 
+#if 0
   // Try all players, one by one
   for(i = pl.begin(); i != pl.end(); i++) {
     AdPlug_LogWrite("Trying: %s\n", (*i)->filetype.c_str());
@@ -160,6 +161,7 @@
       } else
 	delete p;
   }
+#endif
 
   // Unknown file
   AdPlug_LogWrite("End of list!\n");