mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2024-12-24 11:53:25 +00:00
filename_non_ext
instead of filename_without_ext
in matroska.c
This commit is contained in:
parent
564aff23a6
commit
5f510cdfa2
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user