19 #ifndef AVUTIL_WCHAR_FILENAME_H
20 #define AVUTIL_WCHAR_FILENAME_H
22 #if defined(_WIN32) && !defined(__MINGW32CE__)
27 static inline int utf8towchar(
const char *filename_utf8,
wchar_t **filename_w)
30 num_chars = MultiByteToWideChar(CP_UTF8, MB_ERR_INVALID_CHARS, filename_utf8, -1,
NULL, 0);
40 MultiByteToWideChar(CP_UTF8, 0, filename_utf8, -1, *filename_w, num_chars);
Memory handling functions.
static void * av_mallocz_array(size_t nmemb, size_t size)
#define av_warn_unused_result