This adds av_warn_unused_result to avfilter_transform to trigger warnings for non-checked return codes, currently none.
Signed-off-by: Ganesh Ajjanagadde <gajjanaga...@gmail.com> --- libavfilter/transform.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libavfilter/transform.h b/libavfilter/transform.h index 07436bf..b9fa590 100644 --- a/libavfilter/transform.h +++ b/libavfilter/transform.h @@ -118,6 +118,7 @@ void avfilter_mul_matrix(const float *m1, float scalar, float *result); * @param fill edge fill method * @return negative on error */ +av_warn_unused_result int avfilter_transform(const uint8_t *src, uint8_t *dst, int src_stride, int dst_stride, int width, int height, const float *matrix, -- 2.6.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel