changeset 382:a894e005bb56

moved printf out of switch()
author arpi_esp
date Thu, 12 Apr 2001 22:16:58 +0000
parents bbd079aa1614
children 086c66d570d8
files mplayer.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Thu Apr 12 22:10:28 2001 +0000
+++ b/mplayer.c	Thu Apr 12 22:16:58 2001 +0000
@@ -748,8 +748,8 @@
     printf("MPEG: No Audio stream found...  ->nosound\n");
     has_audio=0;
   } else {
+    if(verbose) printf("detected MPG-PS audio format: %d\n",d_audio->type);
     switch(d_audio->type){
-      if(verbose) printf("detected MPG-PS audio format: %d\n",d_audio->type);
       case 1: sh_audio->format=0x50;break; // mpeg
       case 2: sh_audio->format=0x2;break;  // pcm
       case 3: sh_audio->format=0x2000;break; // ac3