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

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Tue Jun 15 01:41:31 EEST 2021


Needed for PITCH_DELAY_MAX.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at 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 --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"
 
 /**
-- 
2.27.0



More information about the ffmpeg-devel mailing list