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>
This commit is contained in:
Andreas Rheinhardt
2023-09-26 01:08:08 +02:00
parent ea14e8bc30
commit f58038d498
9 changed files with 18 additions and 6 deletions

View File

@@ -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"