diff options
author | Nachiket Tarate <nachiket.programmer@gmail.com> | 2021-09-22 00:11:31 +0530 |
---|---|---|
committer | Steven Liu <lq@chinaffmpeg.org> | 2021-10-13 11:23:44 +0800 |
commit | ef0f5d1be67a97bf8a5c3da07e12f55b34a24ec3 (patch) | |
tree | ca4814cf7b87f996aff15a011956816e459c3748 /libavformat/isom.h | |
parent | 343c03c61cdf311f5eebb43731a3e5fd116200dc (diff) |
libavformat/mov: add support for 'cens', 'cbc1' and 'cbcs' encryption schemes specified in Common Encryption (CENC) standard
correct implementation of 'cenc' encryption scheme to support
decryption of partial cipher blocks at the end of subsamples
https://www.iso.org/standard/68042.html
Signed-off-by: Nachiket Tarate <nachiket.programmer@gmail.com>
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
Diffstat (limited to 'libavformat/isom.h')
-rw-r--r-- | libavformat/isom.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/isom.h b/libavformat/isom.h index c62fcf2bfe..f3c18c95be 100644 --- a/libavformat/isom.h +++ b/libavformat/isom.h @@ -237,6 +237,8 @@ typedef struct MOVStreamContext { int has_sidx; // If there is an sidx entry for this stream. struct { struct AVAESCTR* aes_ctr; + struct AVAES *aes_ctx; + unsigned int frag_index_entry_base; unsigned int per_sample_iv_size; // Either 0, 8, or 16. AVEncryptionInfo *default_encrypted_sample; MOVEncryptionIndex *encryption_index; |