| | |
| | | * The size of this struct is not part of the public ABI. |
| | | */ |
| | | typedef struct AVEncryptionInfo { |
| | | /** The fourcc encryption scheme. */ |
| | | /** The fourcc encryption scheme, in big-endian byte order. */ |
| | | uint32_t scheme; |
| | | |
| | | /** |
| | |
| | | */ |
| | | uint8_t* data; |
| | | uint32_t data_size; |
| | | |
| | | /** |
| | | * An optional pointer to the next initialization info in the list. |
| | | */ |
| | | struct AVEncryptionInitInfo *next; |
| | | } AVEncryptionInitInfo; |
| | | |
| | | /** |
| | |
| | | * |
| | | * @param subsample_count The number of subsamples. |
| | | * @param key_id_size The number of bytes in the key ID, should be 16. |
| | | * @param key_id_size The number of bytes in the IV, should be 16. |
| | | * @param iv_size The number of bytes in the IV, should be 16. |
| | | * |
| | | * @return The new AVEncryptionInfo structure, or NULL on error. |
| | | */ |