Commit a80915d2 authored by Mans Rullgard's avatar Mans Rullgard

fix typo in -s option handling

parent c81a797c
......@@ -179,7 +179,7 @@ static void handle_args (int argc, char ** argv)
demux_track = strtol (optarg, &s, 0);
if (demux_track < 0x88)
demux_track += 0x88;
if (demux_track < 0x88 || demux_track > 0x88 || *s) {
if (demux_track < 0x88 || demux_track > 0x8f || *s) {
fprintf (stderr, "Invalid track number: %s\n", optarg);
print_usage (argv);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment