History

avcodec/h261: Use forward-declaration for MpegEncContext

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

Andreas Rheinhardt committed 1 year ago

Commit a02fb1a1 parent 7abc9c51 file · +2 −2Browse files

Unified · Split

libavcodec/h261.h+2−2
@@ -29,7 +29,6 @@ · 28 unmodified lines
2929 #define AVCODEC_H261_H
3030
3131 #include "mpegutils.h"
32−#include "mpegvideo.h"
3332 #include "rl.h"
3433
3534 /**
@@ -54,6 +53,7 @@ extern const uint16_t ff_h261_tcoeff_vlc[65][2]; · 18 unmodified lines
5453 extern const int8_t ff_h261_tcoeff_level[64];
5554 extern const int8_t ff_h261_tcoeff_run[64];
5655
57−void ff_h261_loop_filter(MpegEncContext *s);
56+struct MpegEncContext;
57+void ff_h261_loop_filter(struct MpegEncContext *s);
5858
5959 #endif /* AVCODEC_H261_H */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t