diff mplayer.c @ 382:a894e005bb56

moved printf out of switch()
author arpi_esp
date Thu, 12 Apr 2001 22:16:58 +0000
parents 6e813c134226
children 3360c39a6bb7
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