1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-11 09:25:56 +00:00
mpv/sub
Uoti Urpala 3b401fb07f find_subfiles: fix unintended modification of global filename
Commit a2d28010cc ("cleanup: find_subfiles.c: simplify (mainly using
bstr)") was missing a bstrdup() in subtitle search code, and thus the
code erroneously modified the original filename string passed in. As a
result anything which printed or otherwise used the filename after
that would use a lowercase-converted version instead of the actual
file name. Fix by adding the bstrdup() to operate on a local copy of
the name instead.
2011-04-28 09:44:37 +03:00
..
ass_mp.c stream.[ch], ass_mp: new stream function for whole-file reads 2011-03-03 21:39:24 +02:00
ass_mp.h
av_sub.c
av_sub.h
dec_sub.c
dec_sub.h
find_sub.c
find_subfiles.c find_subfiles: fix unintended modification of global filename 2011-04-28 09:44:37 +03:00
find_subfiles.h subs: options: add -sub-paths 2011-04-20 04:22:52 +03:00
font_load_ft.c
font_load.c
font_load.h
osd_font.h
sd_ass.c
sd.h
spudec.c
spudec.h
sub_cc.c
sub_cc.h
sub.c cleanup: avoid various GCC warnings 2011-04-20 04:22:53 +03:00
sub.h
subassconvert.c
subassconvert.h
subreader.c find_subfiles: move sub_filenames() here 2011-04-20 04:22:52 +03:00
subreader.h find_subfiles: move sub_filenames() here 2011-04-20 04:22:52 +03:00
unrar_exec.c
unrar_exec.h
vobsub.c options: change -alang and -slang to use string list type 2011-04-20 04:22:42 +03:00
vobsub.h options: change -alang and -slang to use string list type 2011-04-20 04:22:42 +03:00