summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2022-01-24 18:00:10 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-01-24 20:12:18 +0100
commit100bb72953e2d4128c4cd0ef5912820afa87b2bd (patch)
tree2d934ba61cda8632c737b4b3bbd75b78b0ffb341
parentf1f500572cdba997b325dc841755a49837689691 (diff)
lavc/h264_parse: stop including h264dec.h
It is unnecessary and only files that are parts of the decoder (as opposed to standalone code called by the decoder) are allowed to include h264dec.h
-rw-r--r--libavcodec/h264_parse.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/h264_parse.c b/libavcodec/h264_parse.c
index 1c1d1c04b0..97ddf0e437 100644
--- a/libavcodec/h264_parse.c
+++ b/libavcodec/h264_parse.c
@@ -20,9 +20,11 @@
#include "get_bits.h"
#include "golomb.h"
#include "h264.h"
-#include "h264dec.h"
+#include "h264pred.h"
#include "h264_parse.h"
#include "h264_ps.h"
+#include "h2645_parse.h"
+#include "mpegutils.h"
int ff_h264_pred_weight_table(GetBitContext *gb, const SPS *sps,
const int *ref_count, int slice_type_nos,