Disambiguate kIvfHeaderSize for Mozilla unified build

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}
This commit is contained in:
Nico Grunbaum
2021-12-08 12:07:09 -08:00
committed by WebRTC LUCI CQ
parent d8f4df729f
commit d525e2d9f7
4 changed files with 26 additions and 3 deletions

View File

@ -392,6 +392,7 @@ rtc_library("video_coding_utility") {
"utility/frame_dropper.h",
"utility/framerate_controller_deprecated.cc",
"utility/framerate_controller_deprecated.h",
"utility/ivf_defines.h",
"utility/ivf_file_reader.cc",
"utility/ivf_file_reader.h",
"utility/ivf_file_writer.cc",