Browse Source

avcodec/h261: Use forward-declaration for MpegEncContext

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

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Andreas Rheinhardt 1 week ago
parent
commit
a02fb1a4f4
1 changed files with 2 additions and 2 deletions
  1. 2 2
      libavcodec/h261.h

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