diff mbox series

[FFmpeg-devel] avcodec/vvc_mp4toannexb_bsf: Improve included headers

Message ID GV1P250MB073753E8913677ECCEAD6A608F3BA@GV1P250MB0737.EURP250.PROD.OUTLOOK.COM
State Accepted
Commit 3fe98db7bbe7132a5d0893597ed5d68923902965
Headers show
Series [FFmpeg-devel] avcodec/vvc_mp4toannexb_bsf: Improve included headers | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Andreas Rheinhardt July 17, 2023, 2:36 p.m. UTC
A BSF should never include avcodec.h at all.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavcodec/vvc_mp4toannexb_bsf.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/libavcodec/vvc_mp4toannexb_bsf.c b/libavcodec/vvc_mp4toannexb_bsf.c
index 9e606cdc27..25c3726918 100644
--- a/libavcodec/vvc_mp4toannexb_bsf.c
+++ b/libavcodec/vvc_mp4toannexb_bsf.c
@@ -24,14 +24,12 @@ 
 #include "libavutil/intreadwrite.h"
 #include "libavutil/mem.h"
 
-#include "avcodec.h"
 #include "bsf.h"
 #include "bsf_internal.h"
 #include "bytestream.h"
+#include "defs.h"
 #include "vvc.h"
 
-#include "libavcodec/get_bits.h"
-
 #define MIN_VVCC_LENGTH 23
 
 typedef struct VVCBSFContext {