[FFmpeg-devel] [PATCH 01/11] avdevice/internal: add av_warn_unused_result
Ganesh Ajjanagadde
gajjanagadde at gmail.com
Fri Oct 16 04:22:15 CEST 2015
This does not trigger any warnings but adds robustness.
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde at 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
More information about the ffmpeg-devel
mailing list