]> git.alsa-project.org Git - alsa-tools.git/commitdiff
Fixed typo
authorJaroslav Kysela <perex@perex.cz>
Mon, 23 Apr 2001 17:46:19 +0000 (17:46 +0000)
committerJaroslav Kysela <perex@perex.cz>
Mon, 23 Apr 2001 17:46:19 +0000 (17:46 +0000)
ac3dec/ac3dec.c

index 649939c3415547e89af32b7eda0da58f65b7597c..e3d0c818c9131440e6dc68f49c92aefaffff740c 100644 (file)
@@ -123,11 +123,11 @@ int main(int argc,char *argv[])
                        out_config.pcm_name = optarg;
                        break;
                case '4':
-                       if (out_config.spdif != SPDIF_NONE)
+                       if (out_config.spdif == SPDIF_NONE)
                                ac3_config.num_output_ch = 4;
                        break;
                case '6':
-                       if (out_config.spdif != SPDIF_NONE)
+                       if (out_config.spdif == SPDIF_NONE)
                                ac3_config.num_output_ch = 6;
                        break;
                case 'C':