Skip to content

Commit

Permalink
avdevice/internal: add av_warn_unused_result
Browse files Browse the repository at this point in the history
This does not trigger any warnings but adds robustness.

Reviewed-by: Michael Niedermayer <[email protected]>
Signed-off-by: Ganesh Ajjanagadde <[email protected]>
  • Loading branch information
Ganesh Ajjanagadde committed Oct 16, 2015
1 parent a0b079a commit 6d0c8cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libavdevice/internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 6d0c8cb

Please sign in to comment.