mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-15 23:01:21 +01:00

kIvfHeaderSize is defined both inside of ivf_file_writer.cc and ivf_file_reader.cc. This patch moves its definition into a header. Bug: webrtc:13463 Change-Id: Ia6b2fcc3434f69a1e30a7dae7bf0c90547f11d98 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/239722 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Harald Alvestrand <hta@webrtc.org> Cr-Commit-Position: refs/heads/main@{#35540}
23 lines
764 B
C++
23 lines
764 B
C++
/*
|
|
* Copyright (c) 2021 The WebRTC project authors. All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by a BSD-style license
|
|
* that can be found in the LICENSE file in the root of the source
|
|
* tree. An additional intellectual property rights grant can be found
|
|
* in the file PATENTS. All contributing project authors may
|
|
* be found in the AUTHORS file in the root of the source tree.
|
|
*/
|
|
|
|
/*
|
|
* This file contains definitions that are common to the IvfFileReader and
|
|
* IvfFileWriter classes.
|
|
*/
|
|
|
|
#ifndef MODULES_VIDEO_CODING_UTILITY_IVF_DEFINES_H_
|
|
#define MODULES_VIDEO_CODING_UTILITY_IVF_DEFINES_H_
|
|
|
|
namespace webrtc {
|
|
constexpr size_t kIvfHeaderSize = 32;
|
|
} // namespace webrtc
|
|
|
|
#endif // MODULES_VIDEO_CODING_UTILITY_IVF_DEFINES_H_
|