--- pci/rme9652/hdsp.c_old      Sun Feb 22 15:52:59 2004
+++ pci/rme9652/hdsp.c  Sun Feb 22 15:57:43 2004
@@ -3810,8 +3810,8 @@
 {
        int mapped_channel;
 
-        snd_assert(channel >= 0 || channel < hdsp->max_channels, return NULL);
-        
+       snd_assert(channel >= 0 && channel < hdsp->max_channels, return NULL);
+ 
        if ((mapped_channel = hdsp->channel_map[channel]) < 0) {
                return NULL;
        }


--
Giuliano.



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to