Commit 191f6119 authored by Ganesh Ajjanagadde's avatar Ganesh Ajjanagadde

avutil/wchar_filename: add av_warn_unused_result

Current code is fine, this just adds robustness.
Reviewed-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
Signed-off-by: 's avatarGanesh Ajjanagadde <gajjanagadde@gmail.com>
parent 20a30077
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
#include <windows.h> #include <windows.h>
#include "mem.h" #include "mem.h"
av_warn_unused_result
static inline int utf8towchar(const char *filename_utf8, wchar_t **filename_w) static inline int utf8towchar(const char *filename_utf8, wchar_t **filename_w)
{ {
int num_chars; int num_chars;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment