зеркало из https://github.com/mozilla/gecko-dev.git
89f408ffff
This is a refactor of the encryption scheme detection used in Index.cpp aside from one additional check: the new function verifies that if sample group information is present that it is consistent with other encryption information. Introduce a new function that contains all the logic to detect the encryption scheme used for the current sample. This helps separate the logic of scheme detection from setting scheme specific data on the current sample. This makes the steps easier to understand and change in isolation. This function returns a result, with failure cases containing a string explaining the error. This is motivated by being able to log or surface the error for failure cases. Logging is not yet implemented, but will be in bug 1547328. Driveby add comment documenting GetSampleEncryptionEntry. Driveby adjust include order to match Mozilla/Google style. Differential Revision: https://phabricator.services.mozilla.com/D30111 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
Atom.h | ||
AtomType.h | ||
Box.cpp | ||
Box.h | ||
BufferStream.cpp | ||
BufferStream.h | ||
ByteStream.h | ||
DecoderData.cpp | ||
DecoderData.h | ||
Index.cpp | ||
Index.h | ||
MP4Decoder.cpp | ||
MP4Decoder.h | ||
MP4Demuxer.cpp | ||
MP4Demuxer.h | ||
MP4Interval.h | ||
MP4Metadata.cpp | ||
MP4Metadata.h | ||
MoofParser.cpp | ||
MoofParser.h | ||
ResourceStream.cpp | ||
ResourceStream.h | ||
SinfParser.cpp | ||
SinfParser.h | ||
moz.build |