diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2013-03-10 20:03:19 +0100 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2013-03-27 18:54:46 +0200 |
commit | ad04025987e5c926ae5bde8947a44b3f1346e64c (patch) | |
tree | 76973d99b90da7fc434589695acf5bba3f9979a9 /libavresample/x86/util.asm | |
parent | e9cc98839574c7e8d546e890ebbf57d1766e5d8a (diff) | |
download | ffmpeg-ad04025987e5c926ae5bde8947a44b3f1346e64c.tar.gz |
win32: 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: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavresample/x86/util.asm')
0 files changed, 0 insertions, 0 deletions