Fix a compilation issue in RHEL8 (#394)

This commit is contained in:
Aryan Salmanpour authored and GitHub committed 2024-07-23 10:48:15 -04:00
1 vanhempi d0821d303a
commit d2ef14606c
1 file changed
+1 -1
@@ -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: