swscale/swscale: add av_warn_unused_result to sws_init_context
authorGanesh Ajjanagadde <gajjanagadde@gmail.com>
Fri, 16 Oct 2015 01:44:22 +0000 (21:44 -0400)
committerGanesh Ajjanagadde <gajjanagadde@gmail.com>
Fri, 16 Oct 2015 21:18:21 +0000 (17:18 -0400)
commitcd8a0a9a9a9ea501367e7f1d17e70cde62e4c746
tree7df7e38297a3989ffff8935be1c193a1f5c51e55
parent02daf2b36025012bc9dee8bd2ba5d5934f950558
swscale/swscale: add av_warn_unused_result to sws_init_context

This should not trigger any warnings; but adds robustness.

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