[FFmpeg-devel] [PATCH] avutil/wchar_filename: add av_warn_unused_result
Michael Niedermayer
michael at niedermayer.cc
Fri Oct 30 11:07:06 CET 2015
On Thu, Oct 15, 2015 at 08:01:56PM -0400, Ganesh Ajjanagadde 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;
LGTM
thanks
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Asymptotically faster algorithms should always be preferred if you have
asymptotical amounts of data
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20151030/8160ca08/attachment.sig>
More information about the ffmpeg-devel
mailing list