summaryrefslogtreecommitdiffstats
path: root/media/base/media_util.h
blob: 4e53c9a0c0e611b4ea0c5b7ef5fb180308148f96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// 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.

#ifndef MEDIA_BASE_UTIL_H_
#define MEDIA_BASE_UTIL_H_

#include <stdint.h>
#include <vector>

#include "media/base/media_export.h"

namespace media {

// Simply returns an empty vector. {Audio|Video}DecoderConfig are often
// constructed with empty extra data.
MEDIA_EXPORT std::vector<uint8_t> EmptyExtraData();

}  // namespace media

#endif  // MEDIA_BASE_UTIL_H_