diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2023-07-24 14:41:24 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2023-07-29 04:16:59 +0200 |
commit | 8387241975c5ac8c2da1cecf9ff2dfae3fabc844 (patch) | |
tree | af8c825726f8b3821ed908286d595dc705e4ac20 /libavcodec/ppc | |
parent | 096563c1086db8e8ebbb980ef65846b21d1fa010 (diff) | |
download | ffmpeg-8387241975c5ac8c2da1cecf9ff2dfae3fabc844.tar.gz |
avcodec/dct: Move fdct function declarations to fdctdsp.h
It is the more proper place for them given that this is
the only API using them.
Also use a forward-declaration of AVCodecContext in fdctdsp.h
to avoid including avcodec.h in jfdct(fst|int).c.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/ppc')
-rw-r--r-- | libavcodec/ppc/fdctdsp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/ppc/fdctdsp.c b/libavcodec/ppc/fdctdsp.c index 4ab516c6b3..ae3c1b18ff 100644 --- a/libavcodec/ppc/fdctdsp.c +++ b/libavcodec/ppc/fdctdsp.c @@ -25,6 +25,7 @@ #include "libavutil/ppc/cpu.h" #include "libavutil/ppc/util_altivec.h" +#include "libavcodec/avcodec.h" #include "libavcodec/fdctdsp.h" #include "fdct.h" |