diff options
author | Ganesh Ajjanagadde <gajjanagadde@gmail.com> | 2015-10-15 20:01:21 -0400 |
---|---|---|
committer | Ganesh Ajjanagadde <gajjanagadde@gmail.com> | 2015-10-30 13:47:28 -0400 |
commit | 191f611906c27f7b1a04955abf0b6f7b7e34a3c7 (patch) | |
tree | a97b9d81821c49867e071d121bc9818cf0195f70 /libavutil/wchar_filename.h | |
parent | 20a30077c3659e6dc0c5b9dfa08d39b70a6b5f4e (diff) | |
download | ffmpeg-191f611906c27f7b1a04955abf0b6f7b7e34a3c7.tar.gz |
avutil/wchar_filename: add av_warn_unused_result
Current code is fine, this just adds robustness.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Diffstat (limited to 'libavutil/wchar_filename.h')
-rw-r--r-- | libavutil/wchar_filename.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavutil/wchar_filename.h b/libavutil/wchar_filename.h index c553c46f4f..2ade321bed 100644 --- a/libavutil/wchar_filename.h +++ b/libavutil/wchar_filename.h @@ -23,6 +23,7 @@ #include <windows.h> #include "mem.h" +av_warn_unused_result static inline int utf8towchar(const char *filename_utf8, wchar_t **filename_w) { int num_chars; |