[FFmpeg-cvslog] avutil/wchar_filename: add av_warn_unused_result

Ganesh Ajjanagadde git at videolan.org
Fri Oct 30 18:48:39 CET 2015


ffmpeg | branch: master | Ganesh Ajjanagadde <gajjanagadde at gmail.com> | Thu Oct 15 20:01:21 2015 -0400| [191f611906c27f7b1a04955abf0b6f7b7e34a3c7] | committer: Ganesh Ajjanagadde

avutil/wchar_filename: add av_warn_unused_result

Current code is fine, this just adds robustness.

Reviewed-by: Michael Niedermayer <michael at niedermayer.cc>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=191f611906c27f7b1a04955abf0b6f7b7e34a3c7
---

 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;



More information about the ffmpeg-cvslog mailing list