From 6d0c8cb79ac0977099e1f6afb28465bd587c5706 Mon Sep 17 00:00:00 2001 From: Ganesh Ajjanagadde Date: Thu, 15 Oct 2015 21:49:30 -0400 Subject: [PATCH] avdevice/internal: add av_warn_unused_result This does not trigger any warnings but adds robustness. Reviewed-by: Michael Niedermayer Signed-off-by: Ganesh Ajjanagadde --- libavdevice/internal.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libavdevice/internal.h b/libavdevice/internal.h index 3cd1b0686e386..e222cf204d4ef 100644 --- a/libavdevice/internal.h +++ b/libavdevice/internal.h @@ -21,6 +21,7 @@ #include "libavformat/avformat.h" +av_warn_unused_result int ff_alloc_input_device_context(struct AVFormatContext **avctx, struct AVInputFormat *iformat, const char *format);