ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinha...@outlook.com> | 
Fri Feb 28 18:13:59 2025 +0100| [a02fb1a4f43dfd2b9e3d83906452a75d2a2b1fa7] | 
committer: Andreas Rheinhardt

avcodec/h261: Use forward-declaration for MpegEncContext

Avoids an indirect inclusion of mpegvideo.h in h261data.c.

Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@outlook.com>

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

 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 */

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to