From 03eb247ac4646ed720dc999544dfb86d9001e68c Mon Sep 17 00:00:00 2001
From: James Zern <[EMAIL REDACTED]>
Date: Tue, 28 May 2024 16:59:47 -0700
Subject: [PATCH] tools/obu_parser.cc: make some functions static
Fixes some -Wmissing-prototypes warnings.
Bug: aomedia:3416
Change-Id: Ia0f3b9cf38598b785c692f0a0c8c97cd2df71c0c
---
tools/obu_parser.cc | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tools/obu_parser.cc b/tools/obu_parser.cc
index 5716b46218..4053615f11 100644
--- a/tools/obu_parser.cc
+++ b/tools/obu_parser.cc
@@ -20,6 +20,7 @@
#include "tools/obu_parser.h"
namespace aom_tools {
+namespace {
// Basic OBU syntax
// 8 bits: Header
@@ -116,6 +117,8 @@ void PrintObuHeader(const ObuHeader *header) {
}
}
+} // namespace
+
bool DumpObu(const uint8_t *data, int length, int *obu_overhead_bytes) {
const int kObuHeaderSizeBytes = 1;
const int kMinimumBytesRequired = 1 + kObuHeaderSizeBytes;