mirror of https://git.ffmpeg.org/ffmpeg.git
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:
parent
2b2ced61eb
commit
0da6865ce2
|
@ -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…
Reference in New Issue