summaryrefslogtreecommitdiffstats
path: root/media/psshparser/PsshParser.cpp
diff options
context:
space:
mode:
authoradeshkp <adeshkp@users.noreply.github.com>2019-11-09 21:42:45 +0530
committeradeshkp <adeshkp@users.noreply.github.com>2019-11-10 06:01:40 -0500
commit0fb5f7a158e0a5a610e1ba85cf408525964d746e (patch)
tree22df72bc308a67dffec02c0aa94ff2969e78e209 /media/psshparser/PsshParser.cpp
parent736d25cbec4541186ed46c935c117ce4d1c7f3bb (diff)
downloadUXP-0fb5f7a158e0a5a610e1ba85cf408525964d746e.tar
UXP-0fb5f7a158e0a5a610e1ba85cf408525964d746e.tar.gz
UXP-0fb5f7a158e0a5a610e1ba85cf408525964d746e.tar.lz
UXP-0fb5f7a158e0a5a610e1ba85cf408525964d746e.tar.xz
UXP-0fb5f7a158e0a5a610e1ba85cf408525964d746e.zip
Issue #1259 - Part 1. Remove Adobe Primetime support from tree
Diffstat (limited to 'media/psshparser/PsshParser.cpp')
-rw-r--r--media/psshparser/PsshParser.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/media/psshparser/PsshParser.cpp b/media/psshparser/PsshParser.cpp
index e5d0acd26..3f76a9b4a 100644
--- a/media/psshparser/PsshParser.cpp
+++ b/media/psshparser/PsshParser.cpp
@@ -108,11 +108,6 @@ const uint8_t kSystemID[] = {
0xac, 0xe3, 0x3c, 0x1e, 0x52, 0xe2, 0xfb, 0x4b
};
-const uint8_t kPrimetimeID[] = {
- 0xf2, 0x39, 0xe7, 0x69, 0xef, 0xa3, 0x48, 0x50,
- 0x9c, 0x16, 0xa9, 0x03, 0xc6, 0x93, 0x2e, 0xfb
-};
-
bool
ParseCENCInitData(const uint8_t* aInitData,
uint32_t aInitDataSize,
@@ -163,11 +158,6 @@ ParseCENCInitData(const uint8_t* aInitData,
// Insufficient bytes to read SystemID.
return false;
}
- if (!memcmp(kPrimetimeID, sid, sizeof(kSystemID))) {
- // Allow legacy Primetime key system PSSH boxes, which
- // don't conform to common encryption format.
- return true;
- }
if (memcmp(kSystemID, sid, sizeof(kSystemID))) {
// Ignore pssh boxes with wrong system ID.