mirror of
https://github.com/scummvm/scummvm-tools.git
synced 2026-05-21 05:40:44 +00:00
fix --mp3/vorbis/flac argument parsing swallowing the last non-audio argument
svn-id: r46031
This commit is contained in:
@@ -743,6 +743,7 @@ bool CompressionTool::processMp3Parms() {
|
||||
} else if (arg == "--silent") {
|
||||
encparms.silent = 1;
|
||||
} else {
|
||||
_arguments.push_front(arg); //put back the non-audio argument we popped.
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -823,6 +824,7 @@ bool CompressionTool::processOggParms() {
|
||||
} else if (arg == "--silent") {
|
||||
oggparms.silent = 1;
|
||||
} else {
|
||||
_arguments.push_front(arg); //put back the non-audio argument we popped.
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -867,6 +869,7 @@ bool CompressionTool::processFlacParms(){
|
||||
} else if (arg == "--silent") {
|
||||
flacparms.silent = true;
|
||||
} else {
|
||||
_arguments.push_front(arg); //put back the non-audio argument we popped.
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user