blob: a6516cd23058a1795f144fa23b1e57c6cc5c270a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "media/base/media_util.h"
namespace media {
std::vector<uint8_t> EmptyExtraData() {
return std::vector<uint8_t>();
}
EncryptionScheme Unencrypted() {
return EncryptionScheme();
}
EncryptionScheme AesCtrEncryptionScheme() {
return EncryptionScheme(EncryptionScheme::CIPHER_MODE_AES_CTR,
EncryptionScheme::Pattern());
}
} // namespace media
|