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>
This commit is contained in:
Michael Niedermayer 2024-06-11 23:59:05 +02:00
parent 2b2ced61eb
commit 0da6865ce2
No known key found for this signature in database
GPG Key ID: B18E8928B3948D64
1 changed files with 0 additions and 5 deletions

View File

@ -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");
*psession = session;