Commit 5a54fcf75e for ffmpeg
commit 5a54fcf75e0245111075b1c31593ba1919c25306
Author: Martin Storsjö <martin@martin.st>
Date: Wed Sep 30 10:00:51 2026 +0300
arm: Remove the arm/timer.h header
After removing the inline assembly timer implementation, the remaining
case for Apple platforms isn't necessary here, as we have that as
a generic fallback in libavutil/timer.h.
diff --git a/libavutil/arm/timer.h b/libavutil/arm/timer.h
deleted file mode 100644
index 89d825eeb7..0000000000
--- a/libavutil/arm/timer.h
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Copyright (c) 2009 Mans Rullgard <mans@mansr.com>
- *
- * This file is part of FFmpeg.
- *
- * FFmpeg is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * FFmpeg is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with FFmpeg; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#ifndef AVUTIL_ARM_TIMER_H
-#define AVUTIL_ARM_TIMER_H
-
-#include <stdint.h>
-#include "config.h"
-
-#if defined(__APPLE__)
-
-#include <mach/mach_time.h>
-
-#define AV_READ_TIME mach_absolute_time
-
-#endif /* __APPLE__ */
-
-#endif /* AVUTIL_ARM_TIMER_H */
diff --git a/libavutil/timer.h b/libavutil/timer.h
index d253e62ec0..a2c3211488 100644
--- a/libavutil/timer.h
+++ b/libavutil/timer.h
@@ -57,8 +57,6 @@
#if ARCH_AARCH64
# include "aarch64/timer.h"
-#elif ARCH_ARM
-# include "arm/timer.h"
#elif ARCH_PPC
# include "ppc/timer.h"
#elif ARCH_X86