diff options
author | Ganesh Ajjanagadde | 2015-10-15 21:49:30 -0400 |
---|---|---|
committer | Ganesh Ajjanagadde | 2015-10-16 17:28:40 -0400 |
commit | 6d0c8cb79ac0977099e1f6afb28465bd587c5706 (patch) | |
tree | b9ee873ecabed226ada4512c1315d05d7f41d054 /libavdevice | |
parent | a0b079ac25feda03d41f6b1755a575bd1b80b2aa (diff) |
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>
Diffstat (limited to 'libavdevice')
-rw-r--r-- | libavdevice/internal.h | 1 |
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); |