changeset 353:18f881216679 trunk

[svn] mpg123-clone: Add '.mp3.part' to list of allowed extension types. (Audacious phase2)
author nenolod
date Wed, 28 Dec 2005 13:40:46 -0800
parents f13ab2d8e9cf
children e2775c9b8b13
files Plugins/Input/mpg123/mpg123.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Input/mpg123/mpg123.c	Mon Dec 26 14:12:35 2005 -0800
+++ b/Plugins/Input/mpg123/mpg123.c	Wed Dec 28 13:40:46 2005 -0800
@@ -398,7 +398,7 @@
 
     ext = strrchr(filename, '.');
     if (ext) {
-        if (!strncasecmp(ext, ".mp2", 4) || !strncasecmp(ext, ".mp3", 4)) {
+        if (!strncasecmp(ext, ".mp2", 4) || !strncasecmp(ext, ".mp3", 4) || !strncasecmp((ext - 4), ".mp3.part", 9) ) {
             return TRUE;
         }
         if (!strncasecmp(ext, ".wav", 4)) {