Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: Nana Zhang <nana.zhang@intel.com>
  • Loading branch information
nanazhan committed Feb 11, 2025
1 parent b218bce commit 558b652
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _studio/shared/umc/io/umc_va/src/umc_va_linux.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ VAProtectedSessionID LinuxVideoAccelerator::CreateProtectedSession(uint32_t sess
attrib_cp[2].value = VA_PC_CIPHER_AES;
attrib_cp[3].value = VA_PC_BLOCK_SIZE_128;
attrib_cp[4].value = VA_PC_CIPHER_MODE_CTR;
if (EncryptionScheme::kCenc == encryption_scheme)
if (EncryptionScheme::kCbcs == encryption_scheme)
attrib_cp[4].value = VA_PC_CIPHER_MODE_CBC;
attrib_cp[5].value = VA_PC_SAMPLE_TYPE_SUBSAMPLE;
attrib_cp[6].value = VA_PC_USAGE_DEFAULT;
Expand Down

0 comments on commit 558b652

Please sign in to comment.