Make -loss valid for opus_demo -e
In addition to its decoding use, it is the value used for OPUS_SET_PACKET_LOSS_PERC. Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
This commit is contained in:
parent
b88a3ad396
commit
98a8baa4ef
1 changed files with 0 additions and 1 deletions
|
@ -425,7 +425,6 @@ int main(int argc, char *argv[])
|
|||
use_dtx = 1;
|
||||
args++;
|
||||
} else if( strcmp( argv[ args ], "-loss" ) == 0 ) {
|
||||
check_decoder_option(encode_only, "-loss");
|
||||
packet_loss_perc = atoi( argv[ args + 1 ] );
|
||||
args += 2;
|
||||
} else if( strcmp( argv[ args ], "-sweep" ) == 0 ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue