avformat/mov: Expose encryption info to the app.
authorJacob Trimble <modmaker@google.com>
Thu, 7 Dec 2017 00:17:54 +0000 (16:17 -0800)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 3 Jul 2018 23:10:28 +0000 (01:10 +0200)
commit7e22f5d457fa042292741c1f5c38232ba10dbea2
treed0fc09c15a0cb0943e4d6dd200d160af62d297c1
parent9fececb6f335851304a8e1e78ff7d6f8c11c285a
avformat/mov: Expose encryption info to the app.

This exposes encryption info from the container to the app.  This
includes key ID, IV, and subsample byte ranges.  The info is passed
using the new side-data AV_PKT_DATA_ENCRYPTION_DATA and
AV_PKT_DATA_ENCRYPTION_INIT_DATA.

Signed-off-by: Jacob Trimble <modmaker@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/mov.c