From 5f510cdfa208cfad373fce6a7fe0dafe36e135e8 Mon Sep 17 00:00:00 2001 From: Carlos Fernandez Date: Mon, 6 Mar 2017 11:32:06 -0800 Subject: [PATCH] `filename_non_ext` instead of `filename_without_ext` in matroska.c --- src/lib_ccx/matroska.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib_ccx/matroska.c b/src/lib_ccx/matroska.c index 085bbc9e..a11c4f30 100644 --- a/src/lib_ccx/matroska.c +++ b/src/lib_ccx/matroska.c @@ -763,7 +763,7 @@ char* generate_filename_from_track(struct matroska_ctx* mkv_ctx, struct matroska if (track->lang_index == 0) sprintf(buf, "%s_%s.%s", filename_non_ext, track->lang, matroska_track_text_subtitle_id_extensions[track->codec_id]); else - sprintf(buf, "%s_%s_" LLD ".%s", filename_without_ext, track->lang, track->lang_index, + sprintf(buf, "%s_%s_" LLD ".%s", filename_non_ext, track->lang, track->lang_index, matroska_track_text_subtitle_id_extensions[track->codec_id]); free(filename); free(filename_non_ext);