diff options
author | Jacob Trimble <modmaker@google.com> | 2018-04-23 10:33:58 -0700 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-06-23 01:06:29 +0200 |
commit | b86c5757a2bf2a589b3982d6b85401165deb4958 (patch) | |
tree | d50ac7414405af0bef424201b2f0ee5cfad11960 /libavutil/encryption_info.h | |
parent | a790813739a880a0a86084ec8c4e2d5a6a79c11d (diff) | |
download | ffmpeg-b86c5757a2bf2a589b3982d6b85401165deb4958.tar.gz |
libavutil/encryption_info: Allow multiple init info.
It is possible for there to be multiple encryption init info structure.
For example, to support multiple key systems or in key rotation. This
changes the AVEncryptionInitInfo struct to be a linked list so there
can be multiple structs without breaking ABI.
Signed-off-by: Jacob Trimble <modmaker@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavutil/encryption_info.h')
-rw-r--r-- | libavutil/encryption_info.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavutil/encryption_info.h b/libavutil/encryption_info.h index ec5501aac7..9140968fde 100644 --- a/libavutil/encryption_info.h +++ b/libavutil/encryption_info.h @@ -115,6 +115,11 @@ typedef struct AVEncryptionInitInfo { */ uint8_t* data; uint32_t data_size; + + /** + * An optional pointer to the next initialization info in the list. + */ + struct AVEncryptionInitInfo *next; } AVEncryptionInitInfo; /** |