changeset 768:3312ccdcf39a trunk

[svn] hmm
author nenolod
date Wed, 01 Mar 2006 10:24:18 -0800
parents 3ade061e7364
children 5f5bedf31154
files Plugins/Input/mpg123/common.c
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Input/mpg123/common.c	Wed Mar 01 10:05:28 2006 -0800
+++ b/Plugins/Input/mpg123/common.c	Wed Mar 01 10:24:18 2006 -0800
@@ -403,8 +403,13 @@
     if (!fr->bitrate_index)
         return (0);
 
-    if (fr->sampleing_frequency >= 9 || fr->sampleing_frequency <= 0)
+    if (fr->sampling_frequency >= 9 || fr->sampling_frequency <= 0)
+    {
+#ifdef DEBUG
+	printf("rejecting mp3 due to sampling_frequency == %d\n");
+#endif
 	return (0);
+    }
 
     if (fr->lsf >= 2)
 	return (0);