Skip to content

Commit ae9847c

Browse files
gfxVPLsdmkovakimy
andauthored
Remove assert in ConvertRateControlMFX2VAAPI (#717)
Fixes: #2614 Issue: - Test: - Github: 948142f (Remove assert in ConvertRateControlMFX2VAAPI) Co-authored-by: kovakimy <[email protected]>
1 parent 05e12ff commit ae9847c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_studio/mfx_lib/shared/src/mfx_h264_encode_vaapi.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ uint32_t ConvertRateControlMFX2VAAPI(mfxU8 rateControl)
8484
case MFX_RATECONTROL_CQP: return VA_RC_CQP;
8585
case MFX_RATECONTROL_ICQ: return VA_RC_ICQ;
8686
case MFX_RATECONTROL_VCM: return VA_RC_VCM;
87-
default: assert(!"Unsupported RateControl"); return 0;
87+
default: return 0;
8888
}
8989
}
9090

0 commit comments

Comments
 (0)