aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_transpose_vaapi.c
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2019-09-29 17:46:04 +0100
committerMark Thompson <sw@jkqxz.net>2020-02-09 20:36:45 +0000
commit593106ff475e77a6d630a4fec1bc974fa145b9fd (patch)
tree2154ced7b2dc4b59e16ef77f6b46b30cb768d058 /libavfilter/vf_transpose_vaapi.c
parentf130b221196cf82e19be78aa810125a41eb340fc (diff)
downloadffmpeg-593106ff475e77a6d630a4fec1bc974fa145b9fd.tar.gz
lavfi/vf_*_vaapi: Fix error case
Fixes CID 1452400, 1452416, 1452550, 1452590, 1452760.
Diffstat (limited to 'libavfilter/vf_transpose_vaapi.c')
-rw-r--r--libavfilter/vf_transpose_vaapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_transpose_vaapi.c b/libavfilter/vf_transpose_vaapi.c
index 69dbdd7017..a4c654266d 100644
--- a/libavfilter/vf_transpose_vaapi.c
+++ b/libavfilter/vf_transpose_vaapi.c
@@ -145,7 +145,7 @@ static int transpose_vaapi_filter_frame(AVFilterLink *inlink, AVFrame *input_fra
err = av_frame_copy_props(output_frame, input_frame);
if (err < 0)
- return err;
+ goto fail;
err = ff_vaapi_vpp_init_params(avctx, &params,
input_frame, output_frame);