avcodec/internal: Move FF_CODEC_CAP_* to a new header codec_internal.h

Also move FF_CODEC_TAGS_END as well as struct AVCodecDefault.
This reduces the amount of files that have to include internal.h
(which comes with quite a lot of indirect inclusions), as e.g.
most encoders don't need it. It is furthemore in preparation
for moving the private part of AVCodec out of the public codec.h.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt
2022-03-16 18:18:28 +01:00
parent 5b3732227e
commit a688f3c13c
459 changed files with 537 additions and 206 deletions

View File

@@ -25,6 +25,7 @@
*/
#include "avcodec.h"
#include "codec_internal.h"
#include "get_bits.h"
#include "internal.h"