diff mbox series

[FFmpeg-devel,15/17] avcodec/g729postfilter.h: Include acelp_pitch_delay.h

Message ID HE1PR0301MB21546D4AC0185D7996E6AB048F319@HE1PR0301MB2154.eurprd03.prod.outlook.com
State Accepted
Commit e3023e901524d1f9f59167962ee47672e61c2bc9
Headers show
Series [FFmpeg-devel,01/17] avcodec/avcodec: Stop including bsf.h in avcodec.h
Related show

Checks

Context Check Description
andriy/x86_make success Make finished
andriy/x86_make_fate success Make fate finished
andriy/PPC64_make success Make finished
andriy/PPC64_make_fate success Make fate finished

Commit Message

Andreas Rheinhardt June 14, 2021, 10:41 p.m. UTC
Needed for PITCH_DELAY_MAX.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
fate-checkheaders doesn't catch this, because it doesn't use the
RES_PREV_DATA_SIZE macro at all.

 libavcodec/g729postfilter.c | 1 -
 libavcodec/g729postfilter.h | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/libavcodec/g729postfilter.c b/libavcodec/g729postfilter.c
index 617744ec8e..125a4095f8 100644
--- a/libavcodec/g729postfilter.c
+++ b/libavcodec/g729postfilter.c
@@ -23,7 +23,6 @@ 
 
 #include "avcodec.h"
 #include "g729.h"
-#include "acelp_pitch_delay.h"
 #include "g729postfilter.h"
 #include "celp_math.h"
 #include "acelp_filters.h"
diff --git a/libavcodec/g729postfilter.h b/libavcodec/g729postfilter.h
index 5c2aaf235b..69815341ed 100644
--- a/libavcodec/g729postfilter.h
+++ b/libavcodec/g729postfilter.h
@@ -22,6 +22,7 @@ 
 #define AVCODEC_G729POSTFILTER_H
 
 #include <stdint.h>
+#include "acelp_pitch_delay.h"
 #include "audiodsp.h"
 
 /**