diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2023-09-26 01:08:08 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2023-10-03 01:59:07 +0200 |
commit | f58038d49815e325fc4215403eaa2d995986af36 (patch) | |
tree | 154f7187c0d9b08ad4da06bbb5d2e088c1aadcb4 /libavcodec/encode.c | |
parent | ea14e8bc3028c746290528869600249c7229bd62 (diff) | |
download | ffmpeg-f58038d49815e325fc4215403eaa2d995986af36.tar.gz |
avcodec/avcodec: Avoid codec_desc.h, codec_par.h inclusions
Instead, use forward declarations; and in order not to affect
any user include these headers for them, but not internally.
This has the advantage of removing implicit inclusions of these
headers from almost all files providing codecs.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/encode.c')
-rw-r--r-- | libavcodec/encode.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/encode.c b/libavcodec/encode.c index 7cd3213b73..a436be2657 100644 --- a/libavcodec/encode.c +++ b/libavcodec/encode.c @@ -30,6 +30,7 @@ #include "avcodec.h" #include "avcodec_internal.h" +#include "codec_desc.h" #include "codec_internal.h" #include "encode.h" #include "frame_thread_encoder.h" |