Fix a compilation issue in RHEL8 (#394)

[ROCm/rocdecode commit: d2ef14606c]
This commit is contained in:
Aryan Salmanpour
2024-07-23 10:48:15 -04:00
committed by GitHub
parent 2487a43c06
commit 19589a4f2f
@@ -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: