changeset 672:ada6a5ad1851 trunk

[svn] fix flac detection, now flac >= 1.1.4 is supported as well
author gw666
date Mon, 19 Feb 2007 00:02:50 -0800
parents e6a1ba5185ba
children 8ed0af226d0e
files ChangeLog configure.ac
diffstat 2 files changed, 12 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun Feb 18 14:51:23 2007 -0800
+++ b/ChangeLog	Mon Feb 19 00:02:50 2007 -0800
@@ -1,3 +1,10 @@
+2007-02-18 22:51:23 +0000  Daniel Bradshaw <nazca@atheme.org>
+  revision [1428]
+  - Tweak to check we found a file extension before using it to prevent segfault
+  trunk/src/madplug/plugin.c |    8 +++++---
+  1 file changed, 5 insertions(+), 3 deletions(-)
+
+
 2007-02-18 11:38:05 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [1426]
   - don't crash on startup by passing NULL to opendir(2)
--- a/configure.ac	Sun Feb 18 14:51:23 2007 -0800
+++ b/configure.ac	Mon Feb 19 00:02:50 2007 -0800
@@ -517,7 +517,11 @@
 fi
 
 if test "$have_flac" = "yes"; then
-	INPUT_PLUGINS="$INPUT_PLUGINS flac$FLAC_VERSION"
+	if test "$FLAC_VERSION" -le 112; then
+	   INPUT_PLUGINS="$INPUT_PLUGINS flac112"
+	else
+	   INPUT_PLUGINS="$INPUT_PLUGINS flac113"
+	fi	
 fi
 
 dnl *** Musepack