summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-08-22 18:51:13 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-08-22 18:51:13 +0000
commitd9e0bdf36fdbd1e518d5f9880e315ca92c1ddb53 (patch)
tree7e1dea3502b885580b50c2a34ccd5b1be3ad7cd9 /mplayer.c
parent97216d8fcb33dcb77888083ea1fff6d475053ced (diff)
downloadmpv-d9e0bdf36fdbd1e518d5f9880e315ca92c1ddb53.tar.bz2
mpv-d9e0bdf36fdbd1e518d5f9880e315ca92c1ddb53.tar.xz
removed ugly switch/goto hack
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1627 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/mplayer.c b/mplayer.c
index 194fbe8291..8e6c7054d5 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -1525,14 +1525,13 @@ if(auto_quality>0){
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 {