Fix a compilation issue in RHEL8 (#394)

This commit is contained in:
Aryan Salmanpour
2024-07-23 10:48:15 -04:00
کامیت شده توسط GitHub
والد d0821d303a
کامیت d2ef14606c
@@ -156,7 +156,7 @@ rocDecStatus VaapiVideoDecoder::CreateDecoderConfig() {
#if VA_CHECK_VERSION(1,6,0)
va_profile_ = VAProfileAV1Profile0;
#else
va_profile_ = 32; // VAProfileAV1Profile0;
va_profile_ = static_cast<VAProfile>(32); // VAProfileAV1Profile0;
#endif
break;
default: