diff mbox series

[FFmpeg-devel,1/3] avcodec/h264idct_template: Don't include h264dec.h

Message ID DU0P250MB0747716D8EF32435A1FFCB6F8FCDA@DU0P250MB0747.EURP250.PROD.OUTLOOK.COM
State Accepted
Commit 8e1bb594fb362a10175713ffa62c049bdfd90116
Headers show
Series [FFmpeg-devel,1/3] avcodec/h264idct_template: Don't include h264dec.h | expand

Commit Message

Andreas Rheinhardt Oct. 10, 2023, 1:26 a.m. UTC
It is only needed for scan8 which is in h264_parse.h.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavcodec/h264idct_template.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Andreas Rheinhardt Oct. 12, 2023, 9:03 p.m. UTC | #1
Andreas Rheinhardt:
> It is only needed for scan8 which is in h264_parse.h.
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
> ---
>  libavcodec/h264idct_template.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libavcodec/h264idct_template.c b/libavcodec/h264idct_template.c
> index ec0b428c27..db19b5f9fb 100644
> --- a/libavcodec/h264idct_template.c
> +++ b/libavcodec/h264idct_template.c
> @@ -27,7 +27,7 @@
>  
>  #include "bit_depth_template.c"
>  #include "libavutil/common.h"
> -#include "h264dec.h"
> +#include "h264_parse.h"
>  #include "h264idct.h"
>  
>  void FUNCC(ff_h264_idct_add)(uint8_t *_dst, int16_t *_block, int stride)

Will apply the rest of this patchset tomorrow unless there are objections.

- Andreas
diff mbox series

Patch

diff --git a/libavcodec/h264idct_template.c b/libavcodec/h264idct_template.c
index ec0b428c27..db19b5f9fb 100644
--- a/libavcodec/h264idct_template.c
+++ b/libavcodec/h264idct_template.c
@@ -27,7 +27,7 @@ 
 
 #include "bit_depth_template.c"
 #include "libavutil/common.h"
-#include "h264dec.h"
+#include "h264_parse.h"
 #include "h264idct.h"
 
 void FUNCC(ff_h264_idct_add)(uint8_t *_dst, int16_t *_block, int stride)