summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2022-01-24 18:00:14 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-01-24 20:12:18 +0100
commita91e8790d084216c9cd3ad77c95c41da32815945 (patch)
treea0b90b899dcef42d869f9c5847ee93f427ea9b72
parentd5ed6a0a9a000f60ab3edd7e3792b10dcd4e58b8 (diff)
lavc/svq3: stop including h264dec.h
The only thing that is actually used directly from there is the PART_NOT_AVAILABLE constant, which can be trivially copied to svq3 decoder itself. Otherwise it only depends on other indirectly included headers.
-rw-r--r--libavcodec/svq3.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/libavcodec/svq3.c b/libavcodec/svq3.c
index a3f434ff8d..f06404da9d 100644
--- a/libavcodec/svq3.c
+++ b/libavcodec/svq3.c
@@ -49,13 +49,16 @@
#include "internal.h"
#include "avcodec.h"
#include "mpegutils.h"
-#include "h264dec.h"
#include "h264data.h"
+#include "h264dsp.h"
+#include "h264pred.h"
+#include "h264_parse.h"
#include "golomb.h"
#include "hpeldsp.h"
#include "mathops.h"
#include "rectangle.h"
#include "tpeldsp.h"
+#include "videodsp.h"
#if CONFIG_ZLIB
#include <zlib.h>
@@ -63,6 +66,8 @@
#include "svq1.h"
+#define PART_NOT_AVAILABLE -2
+
/**
* @file
* svq3 decoder.