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
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue