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-26 15:23:30 +0100
commit2f1716dcd6f25ba92fd0fe357174ca3bed307bf1 (patch)
treed88f1e2a0c0d309f0babe6531fc14a4609a31d91
parente1027aba680c4382c103fd1100cc5567a1530abc (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,