Browse Source

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>
tags/n3.0
Ganesh Ajjanagadde 10 years ago
parent
commit
191f611906
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavutil/wchar_filename.h

+ 1
- 0
libavutil/wchar_filename.h View File

@@ -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;


Loading…
Cancel
Save