diff options
author | Jacob Trimble <modmaker@google.com> | 2017-12-05 14:52:22 -0800 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-03-24 03:11:08 +0100 |
commit | db2a7c947ec28b0a04a4e5193c9b0d33de823fbb (patch) | |
tree | 1f73390b18a56c7d662e430fd1955f9516116d58 /libavcodec | |
parent | 829aebf95d44c1e850fd31692a273e6c6ab8161a (diff) | |
download | ffmpeg-db2a7c947ec28b0a04a4e5193c9b0d33de823fbb.tar.gz |
avcodec/avcodec.h: Add encryption info side data.
This new side-data will contain info on how a packet is encrypted.
This allows the app to handle packet decryption.
Signed-off-by: Jacob Trimble <modmaker@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/avcodec.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index a78017f1fb..495242faf0 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -1345,6 +1345,19 @@ enum AVPacketSideDataType { AV_PKT_DATA_A53_CC, /** + * This side data is encryption initialization data. + * The format is not part of ABI, use av_encryption_init_info_* methods to + * access. + */ + AV_PKT_DATA_ENCRYPTION_INIT_INFO, + + /** + * This side data contains encryption info for how to decrypt the packet. + * The format is not part of ABI, use av_encryption_info_* methods to access. + */ + AV_PKT_DATA_ENCRYPTION_INFO, + + /** * The number of side data types. * This is not part of the public API/ABI in the sense that it may * change when new side data types are added. |