avfilter/qsvvpp: Remove unreachable code

Fixes: CID1598548 Logically dead code

Sponsored-by: Sovereign Tech Fund
Reviewed-by: "Xiang, Haihao" <haihao.xiang@intel.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
release/7.1
Michael Niedermayer 7 months ago
parent 2b2ced61eb
commit 0da6865ce2
No known key found for this signature in database
GPG Key ID: B18E8928B3948D64
  1. 5
      libavfilter/qsvvpp.c

@ -1099,11 +1099,6 @@ int ff_qsvvpp_create_mfx_session(void *ctx,
if (sts < 0)
return ff_qsvvpp_print_error(ctx, sts,
"Error creating a MFX session");
else if (sts > 0) {
ff_qsvvpp_print_warning(ctx, sts,
"Warning in MFX session creation");
return AVERROR_UNKNOWN;
}
*psession = session;

Loading…
Cancel
Save