mirror of https://git.ffmpeg.org/ffmpeg.git
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>
This commit is contained in:
parent
a0b079ac25
commit
6d0c8cb79a
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue