Skip to content

Commit

Permalink
cli: fix subtitle "scan" when not first in --subtitle list
Browse files Browse the repository at this point in the history
  • Loading branch information
jstebbins committed Apr 19, 2024
1 parent 73d4447 commit ae3a005
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test.c
Original file line number Diff line number Diff line change
Expand Up @@ -3564,7 +3564,7 @@ static int foreign_audio_scan(char **subtracks)
int ii;
for (ii = 0; ii < count; ii++)
{
if (!strcasecmp(subtracks[0], "scan"))
if (!strcasecmp(subtracks[ii], "scan"))
{
return 1;
}
Expand Down

0 comments on commit ae3a005

Please sign in to comment.