changeset 1626:5f5505e4bb2d

removed ugly switch/goto hack
author arpi
date Wed, 22 Aug 2001 18:51:13 +0000
parents 69161efb1ac1
children eeaee1632340
files mplayer.c
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Wed Aug 22 17:43:28 2001 +0000
+++ b/mplayer.c	Wed Aug 22 18:51:13 2001 +0000
@@ -1525,14 +1525,13 @@
     case 'x':
       sub_delay += 0.1;
       break;
-    case '9': c='/'; goto _jump1;
-    case '0': c='*';
-_jump1:
+    case '9':
+    case '0':
     case '*':
     case '/': {
         float mixer_l, mixer_r;
         mixer_getvolume( &mixer_l,&mixer_r );
-        if(c=='*'){
+        if(c=='*' || c=='0'){
             if ( ++mixer_l > 100 ) mixer_l = 100;
             if ( ++mixer_r > 100 ) mixer_r = 100;
         } else {