aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2013-03-10 20:03:19 +0100
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2013-03-16 13:40:36 +0100
commitc3c3bc7ff6b25326800ef6aae3ba46f9de75d3a7 (patch)
tree5459077db6a0397f9147b7ddd7bc8faa0a9de4ac /libavcodec
parent23426987fa206833e48f22aa7c80d038c836a196 (diff)
downloadffmpeg-c3c3bc7ff6b25326800ef6aae3ba46f9de75d3a7.tar.gz
Make ff_win32_open more robust.
- Make MultiByteToWideChar fail when it encounters invalid encoding. Without this, invalid characters might just be skipped - When MultiByteToWideChar fails, assume the file name is in CP_ACP and open it via normal open function, even when the file will be written - When malloc fails return error instead of crashing Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'libavcodec')
0 files changed, 0 insertions, 0 deletions