[FFmpeg-devel] [PATCH 09/10] avcodec: Remove unnecessary h263.h inclusions

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Wed Jan 5 23:56:09 EET 2022


Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
 libavcodec/flvenc.c      | 1 -
 libavcodec/h261dec.c     | 1 -
 libavcodec/h261enc.c     | 1 -
 libavcodec/msmpeg4.c     | 1 -
 libavcodec/msmpeg4data.c | 2 +-
 libavcodec/snow.c        | 1 -
 libavcodec/snowdec.c     | 2 --
 libavcodec/svq1dec.c     | 2 +-
 8 files changed, 2 insertions(+), 9 deletions(-)

diff --git a/libavcodec/flvenc.c b/libavcodec/flvenc.c
index 614ef20243..158b399c40 100644
--- a/libavcodec/flvenc.c
+++ b/libavcodec/flvenc.c
@@ -19,7 +19,6 @@
  */
 
 #include "flv.h"
-#include "h263.h"
 #include "h263data.h"
 #include "mpegvideo.h"
 #include "mpegvideodata.h"
diff --git a/libavcodec/h261dec.c b/libavcodec/h261dec.c
index 80ec1c8814..2fd8d94df1 100644
--- a/libavcodec/h261dec.c
+++ b/libavcodec/h261dec.c
@@ -31,7 +31,6 @@
 #include "mpeg_er.h"
 #include "mpegutils.h"
 #include "mpegvideo.h"
-#include "h263.h"
 #include "h261.h"
 #include "internal.h"
 
diff --git a/libavcodec/h261enc.c b/libavcodec/h261enc.c
index 79f680f81d..af65c1f3b1 100644
--- a/libavcodec/h261enc.c
+++ b/libavcodec/h261enc.c
@@ -31,7 +31,6 @@
 #include "avcodec.h"
 #include "mpegutils.h"
 #include "mpegvideo.h"
-#include "h263.h"
 #include "h261.h"
 #include "mpegvideodata.h"
 
diff --git a/libavcodec/msmpeg4.c b/libavcodec/msmpeg4.c
index 16b6f18950..e76aec6dfc 100644
--- a/libavcodec/msmpeg4.c
+++ b/libavcodec/msmpeg4.c
@@ -34,7 +34,6 @@
 #include "mpegvideo.h"
 #include "msmpeg4.h"
 #include "libavutil/x86/asm.h"
-#include "h263.h"
 #include "mpeg4video.h"
 #include "msmpeg4data.h"
 #include "mpegvideodata.h"
diff --git a/libavcodec/msmpeg4data.c b/libavcodec/msmpeg4data.c
index 890aeb5670..a3a8144664 100644
--- a/libavcodec/msmpeg4data.c
+++ b/libavcodec/msmpeg4data.c
@@ -27,7 +27,7 @@
  * MSMPEG4 data tables.
  */
 
-#include "h263.h"
+#include "h263data.h"
 #include "mpeg4video.h"
 #include "msmpeg4data.h"
 
diff --git a/libavcodec/snow.c b/libavcodec/snow.c
index e0fb58042c..0a500695ce 100644
--- a/libavcodec/snow.c
+++ b/libavcodec/snow.c
@@ -31,7 +31,6 @@
 
 #include "rangecoder.h"
 #include "mathops.h"
-#include "h263.h"
 
 
 void ff_snow_inner_add_yblock(const uint8_t *obmc, const int obmc_stride, uint8_t * * block, int b_w, int b_h,
diff --git a/libavcodec/snowdec.c b/libavcodec/snowdec.c
index cd2265aba1..d54036e02b 100644
--- a/libavcodec/snowdec.c
+++ b/libavcodec/snowdec.c
@@ -29,8 +29,6 @@
 #include "rangecoder.h"
 #include "mathops.h"
 
-#include "h263.h"
-
 static av_always_inline void predict_slice_buffered(SnowContext *s, slice_buffer * sb, IDWTELEM * old_buffer, int plane_index, int add, int mb_y){
     Plane *p= &s->plane[plane_index];
     const int mb_w= s->b_width  << s->block_max_depth;
diff --git a/libavcodec/svq1dec.c b/libavcodec/svq1dec.c
index a67d1866b6..a2b3f71c07 100644
--- a/libavcodec/svq1dec.c
+++ b/libavcodec/svq1dec.c
@@ -37,7 +37,7 @@
 
 #include "avcodec.h"
 #include "get_bits.h"
-#include "h263.h"
+#include "h263data.h"
 #include "hpeldsp.h"
 #include "internal.h"
 #include "mathops.h"
-- 
2.32.0



More information about the ffmpeg-devel mailing list