| Index: ppapi/c/private/pp_content_decryptor.h
|
| diff --git a/ppapi/c/private/pp_content_decryptor.h b/ppapi/c/private/pp_content_decryptor.h
|
| index cc6f0796fcd60c5aa2c0fc6e4285ced32421e872..3ccc3e70a3f02a8f844b96eddd9b8dd0a7a0f502 100644
|
| --- a/ppapi/c/private/pp_content_decryptor.h
|
| +++ b/ppapi/c/private/pp_content_decryptor.h
|
| @@ -3,7 +3,7 @@
|
| * found in the LICENSE file.
|
| */
|
|
|
| -/* From private/pp_content_decryptor.idl modified Wed Sep 16 16:45:25 2015. */
|
| +/* From private/pp_content_decryptor.idl modified Mon Oct 19 13:00:24 2015. */
|
|
|
| #ifndef PPAPI_C_PRIVATE_PP_CONTENT_DECRYPTOR_H_
|
| #define PPAPI_C_PRIVATE_PP_CONTENT_DECRYPTOR_H_
|
| @@ -120,11 +120,16 @@ struct PP_EncryptedBlockInfo {
|
| uint32_t iv_size;
|
| /**
|
| * Subsample information of the block to be decrypted.
|
| + *
|
| + * TODO(xhwang): We need to have a fixed size of |subsamples| here. Choose 32
|
| + * because it is sufficient for almost all real life scenarios. Note that in
|
| + * theory the number of subsamples could be larger than 32. If that happens,
|
| + * playback will fail.
|
| */
|
| - struct PP_DecryptSubsampleDescription subsamples[16];
|
| + struct PP_DecryptSubsampleDescription subsamples[32];
|
| uint32_t num_subsamples;
|
| };
|
| -PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_EncryptedBlockInfo, 240);
|
| +PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_EncryptedBlockInfo, 368);
|
| /**
|
| * @}
|
| */
|
|
|