summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libhb/hb_json.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/hb_json.c b/libhb/hb_json.c
index 75a657efb..191d6da5d 100644
--- a/libhb/hb_json.c
+++ b/libhb/hb_json.c
@@ -1051,7 +1051,7 @@ hb_job_t* hb_json_to_job( hb_handle_t * h, const char * json_job )
sub_config.offset = offset;
sub_config.dest = burn ? RENDERSUB : PASSTHRUSUB;
strncpy(sub_config.src_codeset, srtcodeset, 39);
- sub_config.src_filename[39] = 0;
+ sub_config.src_codeset[39] = 0;
hb_srt_add(job, &sub_config, srtlang);
}
}