aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dcahuff.c
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/dcahuff.c
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/dcahuff.c')
-rw-r--r--libavcodec/dcahuff.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libavcodec/dcahuff.c b/libavcodec/dcahuff.c
index 6197ccfe9b..fec60771ec 100644
--- a/libavcodec/dcahuff.c
+++ b/libavcodec/dcahuff.c
@@ -20,11 +20,13 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include <stddef.h>
+
+#include "libavutil/avassert.h"
#include "libavutil/common.h"
-#include "avcodec.h"
-#include "get_bits.h"
#include "dcahuff.h"
+#include "put_bits.h"
#define TMODE_COUNT 4
static const uint8_t tmode_vlc_bits[TMODE_COUNT] = { 3, 3, 3, 2 };