avutil/mem: add av_warn_unused_result
authorGanesh Ajjanagadde <gajjanagadde@gmail.com>
Thu, 15 Oct 2015 21:38:03 +0000 (17:38 -0400)
committerGanesh Ajjanagadde <gajjanagadde@gmail.com>
Fri, 16 Oct 2015 23:53:55 +0000 (19:53 -0400)
commitcf52ae003b427fbecdf82b7e99b829ccb299a0f4
tree4bd500176721e60a5a204bd47059c128aff1e859
parent3d1690b8c69c5bfad165224393bedd806e30476e
avutil/mem: add av_warn_unused_result

This adds av_warn_unused_result to functions whose return codes need to
be checked.

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
libavutil/mem.h