summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2015-01-17 20:06:09 +0000
committerjstebbins <[email protected]>2015-01-17 20:06:09 +0000
commit20753c21f5445a8528abb7b305a2c0e94bca0829 (patch)
tree4d6bd75ba41495c0b23e5db04d2b8728cbdbfa51
parentf94cb4643b02325d12f2ef5ee54018e86ef1c1db (diff)
json: fix srt filename parsing
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6762 b64f7644-9d1e-0410-96f1-a4d463321fa5
-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);
}
}