[FFmpeg-cvslog] lavc/h264_parse: stop including h264dec.h

Anton Khirnov git at videolan.org
Wed Jan 26 16:44:33 EET 2022


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Mon Jan 24 18:00:10 2022 +0100| [2f1716dcd6f25ba92fd0fe357174ca3bed307bf1] | committer: Andreas Rheinhardt

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

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2f1716dcd6f25ba92fd0fe357174ca3bed307bf1
---

 libavcodec/h264_parse.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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,



More information about the ffmpeg-cvslog mailing list