From 71e8b0ab8f04a6cbb8975156e38ee3fef45c8d91 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Fri, 28 Feb 2025 18:13:59 +0100 Subject: [PATCH 09/40] avcodec/h261: Use forward-declaration for MpegEncContext Avoids an indirect inclusion of mpegvideo.h in h261data.c. Signed-off-by: Andreas Rheinhardt --- libavcodec/h261.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/h261.h b/libavcodec/h261.h index 4279a12677..fb5fc6f940 100644 --- a/libavcodec/h261.h +++ b/libavcodec/h261.h @@ -29,7 +29,6 @@ #define AVCODEC_H261_H #include "mpegutils.h" -#include "mpegvideo.h" #include "rl.h" /** @@ -54,6 +53,7 @@ extern const uint16_t ff_h261_tcoeff_vlc[65][2]; extern const int8_t ff_h261_tcoeff_level[64]; extern const int8_t ff_h261_tcoeff_run[64]; -void ff_h261_loop_filter(MpegEncContext *s); +struct MpegEncContext; +void ff_h261_loop_filter(struct MpegEncContext *s); #endif /* AVCODEC_H261_H */ -- 2.45.2