mirror of https://git.ffmpeg.org/ffmpeg.git
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>
This commit is contained in:
parent
20a30077c3
commit
191f611906
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue