X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavutil%2Fencryption_info.h;h=8fe7ebfe43203f63e88c07c115e5c00c097fef1c;hb=d6915d0d45104c74f506eb51879be62c6239bd51;hp=47dc3a35caccea67a1466c8e5bf6606583b46b2d;hpb=18195e570cfb83149e5eea203b4b5ee84babd420;p=ffmpeg diff --git a/libavutil/encryption_info.h b/libavutil/encryption_info.h index 47dc3a35cac..8fe7ebfe432 100644 --- a/libavutil/encryption_info.h +++ b/libavutil/encryption_info.h @@ -41,7 +41,7 @@ typedef struct AVSubsampleEncryptionInfo { * 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; /** @@ -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; /** @@ -124,7 +129,7 @@ typedef struct 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. */