OSDN Git Service

avfilter/formats: add av_warn_unused_result to function prototypes
authorGanesh Ajjanagadde <gajjanagadde@gmail.com>
Mon, 5 Oct 2015 13:20:33 +0000 (09:20 -0400)
committerGanesh Ajjanagadde <gajjanagadde@gmail.com>
Wed, 14 Oct 2015 14:19:26 +0000 (10:19 -0400)
commitbf0d2d6030c239f91e0368a20fb2dc0705bfec99
treed6c179af458501045c8514e26b19cf3adb5980a0
parent6aaac24d72a7da631173209841a3944fcb4a3309
avfilter/formats: add av_warn_unused_result to function prototypes

This uses the av_warn_unused_result attribute liberally to catch some forms of improper
usage of functions defined in avfilter/formats.h.

Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
libavfilter/formats.h