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/nvenc.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/nvenc.c')
-rw-r--r-- | libavcodec/nvenc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c index 65b96d6cf6..02486c2043 100644 --- a/libavcodec/nvenc.c +++ b/libavcodec/nvenc.c @@ -36,6 +36,7 @@ #include "libavutil/pixdesc.h" #include "libavutil/mathematics.h" #include "atsc_a53.h" +#include "codec_desc.h" #include "encode.h" #include "internal.h" #include "packet_internal.h" |