Commit 6d0c8cb7 authored by Ganesh Ajjanagadde's avatar Ganesh Ajjanagadde

avdevice/internal: add av_warn_unused_result

This does not trigger any warnings but adds robustness.
Reviewed-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
Signed-off-by: 's avatarGanesh Ajjanagadde <gajjanagadde@gmail.com>
parent a0b079ac
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment