diff options
author | Uoti Urpala <uau@mplayer2.org> | 2011-04-28 01:06:16 +0300 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2011-04-28 09:44:37 +0300 |
commit | 3b401fb07f04dd1947402550db6702619bbcb5ce (patch) | |
tree | b3edb7fd1713885ec00b27cc33f865a1d18aea15 /edl.h | |
parent | 994b21a80a2f37b0d672526739cb742b87f33ad9 (diff) | |
download | mpv-3b401fb07f04dd1947402550db6702619bbcb5ce.tar.bz2 mpv-3b401fb07f04dd1947402550db6702619bbcb5ce.tar.xz |
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.
Diffstat (limited to 'edl.h')
0 files changed, 0 insertions, 0 deletions