This should not trigger any warnings; but adds robustness. Signed-off-by: Ganesh Ajjanagadde <[email protected]> --- 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); /** -- 2.6.1 _______________________________________________ ffmpeg-devel mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
