diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2023-09-08 13:41:33 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2023-09-11 00:26:34 +0200 |
commit | a84fe06112af4929a4f3d993373b4f3cf2725f9a (patch) | |
tree | 9de177c13e6d2c5101c6264017265c0e24e7ead8 /libavcodec/alpha | |
parent | 7b0b9a25ed11625ae75f1fa47db41744578675fe (diff) | |
download | ffmpeg-a84fe06112af4929a4f3d993373b4f3cf2725f9a.tar.gz |
avcodec/idctdsp: Avoid inclusion of avcodec.h
Not every user of idctdsp.h wants to initialize an IDCTDSPContext;
e.g. the proresdsp only uses ff_init_scantable_permutation()
and the IDCT permutation enum; similarly for cavsdsp and wmv2dsp.
Using a forward declaration here avoids an avcodec.h dependency
in the relevant files.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/alpha')
-rw-r--r-- | libavcodec/alpha/idctdsp_alpha.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/alpha/idctdsp_alpha.c b/libavcodec/alpha/idctdsp_alpha.c index bd43842535..ff770c15fd 100644 --- a/libavcodec/alpha/idctdsp_alpha.c +++ b/libavcodec/alpha/idctdsp_alpha.c @@ -19,6 +19,7 @@ */ #include "libavutil/attributes.h" +#include "libavcodec/avcodec.h" #include "libavcodec/idctdsp.h" #include "idctdsp_alpha.h" #include "asm.h" |