[FFmpeg-devel] [PATCH] avutil/wchar_filename: add av_warn_unused_result

Ganesh Ajjanagadde gajjanagadde at gmail.com
Thu Oct 22 05:46:35 CEST 2015


On Thu, Oct 15, 2015 at 8:01 PM, Ganesh Ajjanagadde
<gajjanagadde at gmail.com> wrote:
> 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
>

ping - anyone willing to review this (and the other
av_warn_unused_result patches)?


More information about the ffmpeg-devel mailing list