diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test.c b/test/test.c index b40c6478c..36dede1a3 100644 --- a/test/test.c +++ b/test/test.c @@ -4061,12 +4061,12 @@ PrepareJob(hb_handle_t *h, hb_title_t *title, hb_dict_t *preset_dict) { for (track = first - 1; track < last; track++) { - add_sub(subtitle_array, title, track, &one_burned); + add_sub(subtitle_array, title, track-1, &one_burned); } } else if (sscanf(subtracks[ii], "%d", &track) == 1) { - add_sub(subtitle_array, title, track, &one_burned); + add_sub(subtitle_array, title, track-1, &one_burned); } else { |