blob: 95375c7359790a52f0e0f49a8104d1115271f10e [file] [log] [blame]
// 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 "cobalt/media/base/media_util.h"
#include "cobalt/media/base/encryption_pattern.h"
namespace cobalt {
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,
EncryptionPattern());
}
} // namespace media
} // namespace cobalt