summaryrefslogtreecommitdiff
path: root/libavcodec/ac3.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-06-14 18:03:55 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-07-22 15:29:46 +0200
commit25c8507818d8559a6654a5b30a0f8aae11a48181 (patch)
tree59f768e70e21d07f26a97724a2022c6d855cfcf1 /libavcodec/ac3.h
parente3023e901524d1f9f59167962ee47672e61c2bc9 (diff)
downloadffmpeg-25c8507818d8559a6654a5b30a0f8aae11a48181.tar.gz
Remove/replace some unnecessary avcodec.h inclusions
Also remove other unnecessary headers and include headers directly while at it. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/ac3.h')
-rw-r--r--libavcodec/ac3.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/ac3.h b/libavcodec/ac3.h
index e358f8d9e3..0e52028111 100644
--- a/libavcodec/ac3.h
+++ b/libavcodec/ac3.h
@@ -27,6 +27,9 @@
#ifndef AVCODEC_AC3_H
#define AVCODEC_AC3_H
+#include <math.h>
+#include <stdint.h>
+
#define EAC3_MAX_CHANNELS 16 /**< maximum number of channels in EAC3 */
#define AC3_MAX_CHANNELS 7 /**< maximum number of channels, including coupling channel */
#define CPL_CH 0 /**< coupling channel index */
@@ -39,8 +42,6 @@
#define AC3_CRITICAL_BANDS 50
#define AC3_MAX_CPL_BANDS 18
-#include "libavutil/opt.h"
-#include "avcodec.h"
#include "ac3tab.h"
/* exponent encoding strategy */