aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGanesh Ajjanagadde <gajjanagadde@gmail.com>2015-10-15 21:49:30 -0400
committerGanesh Ajjanagadde <gajjanagadde@gmail.com>2015-10-16 17:28:40 -0400
commit6d0c8cb79ac0977099e1f6afb28465bd587c5706 (patch)
treeb9ee873ecabed226ada4512c1315d05d7f41d054
parenta0b079ac25feda03d41f6b1755a575bd1b80b2aa (diff)
downloadffmpeg-6d0c8cb79ac0977099e1f6afb28465bd587c5706.tar.gz
avdevice/internal: add av_warn_unused_result
This does not trigger any warnings but adds robustness. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
-rw-r--r--libavdevice/internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavdevice/internal.h b/libavdevice/internal.h
index 3cd1b0686e..e222cf204d 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);