ffmpeg | branch: master | Zhong Li <zhong...@intel.com> | Mon Jan 14 15:29:54 2019 +0800| [260f1960e7e2e2bff56957a216130623f8109d8f] | committer: Zhong Li
lavf/vaapi_deinterlace: return error if mode unsupported Reviewed-by: Mark Thompson <s...@jkqxz.net> Signed-off-by: Fuwei Tang <fuweix.t...@intel.com> Signed-off-by: Zhong Li <zhong...@intel.com> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=260f1960e7e2e2bff56957a216130623f8109d8f --- libavfilter/vf_deinterlace_vaapi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavfilter/vf_deinterlace_vaapi.c b/libavfilter/vf_deinterlace_vaapi.c index 97aee6588f..f67a1c8e79 100644 --- a/libavfilter/vf_deinterlace_vaapi.c +++ b/libavfilter/vf_deinterlace_vaapi.c @@ -113,6 +113,7 @@ static int deint_vaapi_build_filter_params(AVFilterContext *avctx) av_log(avctx, AV_LOG_ERROR, "Deinterlacing mode %d (%s) is " "not supported.\n", ctx->mode, deint_vaapi_mode_name(ctx->mode)); + return AVERROR(EINVAL); } } _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog