aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ac3enc_template.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2013-03-10 20:03:19 +0100
committerMartin Storsjö <martin@martin.st>2013-03-27 18:54:46 +0200
commitad04025987e5c926ae5bde8947a44b3f1346e64c (patch)
tree76973d99b90da7fc434589695acf5bba3f9979a9 /libavcodec/ac3enc_template.c
parente9cc98839574c7e8d546e890ebbf57d1766e5d8a (diff)
downloadffmpeg-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 'libavcodec/ac3enc_template.c')
0 files changed, 0 insertions, 0 deletions