ffmpeg | branch: master | Ganesh Ajjanagadde <gajjanaga...@gmail.com> | Thu Oct 15 21:44:22 2015 -0400| [cd8a0a9a9a9ea501367e7f1d17e70cde62e4c746] | committer: Ganesh Ajjanagadde
swscale/swscale: add av_warn_unused_result to sws_init_context This should not trigger any warnings; but adds robustness. Reviewed-by: Michael Niedermayer <mich...@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanaga...@gmail.com> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=cd8a0a9a9a9ea501367e7f1d17e70cde62e4c746 --- libswscale/swscale.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libswscale/swscale.h b/libswscale/swscale.h index ff3f630..da9dd2e 100644 --- a/libswscale/swscale.h +++ b/libswscale/swscale.h @@ -150,6 +150,7 @@ struct SwsContext *sws_alloc_context(void); * @return zero or positive value on success, a negative value on * error */ +av_warn_unused_result int sws_init_context(struct SwsContext *sws_context, SwsFilter *srcFilter, SwsFilter *dstFilter); /** _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog