Opened 14 years ago Closed 14 years ago #137 closed defect (fixed)Encoder crashs on faulty command line input parameter
Description
Example: Change History (6)comment:1 Changed 14 years ago by ksuehringcomment:2 Changed 14 years ago by davidf
$ ./jctvc-tmuc-enc - HM software: Encoder Version [2.2][Linux][GCC 4.4.5][64 bit] terminate called after throwing an instance of 'std::out_of_range' what(): basic_string::substr Aborted
Two fixes required:
Report with a helpful error message, rather than unhandled exception. comment:3 Changed 14 years ago by davidf
This has been resolved in r784. comment:4 Changed 13 years ago by davidf
Updating component after adding WD (Text) tickets comment:5 Changed 13 years ago by davidf
comment:6 Changed 13 years ago by davidf
Note: See
TracTickets for help on using
tickets. | This list contains all users that will be notified about changes made to this ticket. These roles will be notified: Reporter, Owner, Subscriber, Participant
|
Note: there is space between the dash and the "f" at the end.
The command line reader should give an error message instead of crashing.