diff mbox

[FFmpeg-devel] avcodec/x86/cavsdsp: Delete #include "libavcodec/x86/idctdsp.h".

Message ID 20170720174403.27307-1-wtc@google.com
State Accepted
Commit ea1ca17be2301aaef5b3b5ef8c2abe7f7d688e07
Headers show

Commit Message

Wan-Teh Chang July 20, 2017, 5:44 p.m. UTC
This file already has #include "idctdsp.h", which is resolved to the
idctdsp.h header in the directory where this file resides by compilers.
Two other files in this directory, libavcodec/x86/idctdsp_init.c and
libavcodec/x86/xvididct_init.c, also rely on #include "idctdsp.h"
working this way.

Signed-off-by: Wan-Teh Chang <wtc@google.com>
---
 libavcodec/x86/cavsdsp.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Michael Niedermayer July 20, 2017, 10:14 p.m. UTC | #1
On Thu, Jul 20, 2017 at 10:44:03AM -0700, Wan-Teh Chang wrote:
> This file already has #include "idctdsp.h", which is resolved to the
> idctdsp.h header in the directory where this file resides by compilers.
> Two other files in this directory, libavcodec/x86/idctdsp_init.c and
> libavcodec/x86/xvididct_init.c, also rely on #include "idctdsp.h"
> working this way.
> 
> Signed-off-by: Wan-Teh Chang <wtc@google.com>
> ---
>  libavcodec/x86/cavsdsp.c | 1 -
>  1 file changed, 1 deletion(-)

will apply unless someone else is faster

[...]
diff mbox

Patch

diff --git a/libavcodec/x86/cavsdsp.c b/libavcodec/x86/cavsdsp.c
index a8a198b46d..becb3a4808 100644
--- a/libavcodec/x86/cavsdsp.c
+++ b/libavcodec/x86/cavsdsp.c
@@ -29,7 +29,6 @@ 
 #include "libavutil/x86/cpu.h"
 #include "libavcodec/cavsdsp.h"
 #include "libavcodec/idctdsp.h"
-#include "libavcodec/x86/idctdsp.h"
 #include "constants.h"
 #include "fpel.h"
 #include "idctdsp.h"