This does not trigger any warnings but adds robustness.

Signed-off-by: Ganesh Ajjanagadde <gajjanaga...@gmail.com>
---
 libavdevice/internal.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavdevice/internal.h b/libavdevice/internal.h
index 3cd1b06..e222cf2 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);
 
-- 
2.6.1

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to