changeset 765:bd0714f24e15 trunk

[svn] - more sanity checks
author nenolod
date Wed, 01 Mar 2006 09:39:18 -0800
parents e675740173ca
children fdbb6738a75d
files Plugins/Input/mpg123/common.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Input/mpg123/common.c	Wed Mar 01 09:37:37 2006 -0800
+++ b/Plugins/Input/mpg123/common.c	Wed Mar 01 09:39:18 2006 -0800
@@ -406,6 +406,9 @@
     if (fr->sampleing_frequency >= 9 && fr->sampleing_frequency <= 0)
 	return (0);
 
+    if (fr->lsf >= 2)
+	return (0);
+
     switch (fr->lay) {
     case 1:
         fr->do_layer = mpg123_do_layer1;