[FFmpeg-devel] [PATCH] avutil/wchar_filename: add av_warn_unused_result
Ganesh Ajjanagadde
gajjanagadde at gmail.com
Fri Oct 16 02:01:56 CEST 2015
Current code is fine, this just adds robustness.
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde at gmail.com>
---
libavutil/wchar_filename.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavutil/wchar_filename.h b/libavutil/wchar_filename.h
index c553c46..2ade321 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;
--
2.6.1
More information about the ffmpeg-devel
mailing list