diff options
author | Anton Khirnov <anton@khirnov.net> | 2023-06-20 12:29:50 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2023-07-07 12:07:23 +0200 |
commit | 5e7b5b0090bdf68e0897fe55ee657fdccc0cbca2 (patch) | |
tree | b17d0a7ab1deb513fcb36c650dfd1426ed87a339 /libavcodec/avcodec.c | |
parent | 83c0f7b046d0efbfa4ac08b51e3c1500071a857f (diff) | |
download | ffmpeg-5e7b5b0090bdf68e0897fe55ee657fdccc0cbca2.tar.gz |
lavc: add a header for internal generic-layer APIs
The goal is to distinguish between APIs provided by the generic layer to
individual codecs and APIs internal to the generic layer.
Start by moving ff_{decode,encode}_receive_frame() and
ff_{decode,encode}_preinit() into this new header, as those functions
are called from generic code and should not be visible to individual
codecs.
Diffstat (limited to 'libavcodec/avcodec.c')
-rw-r--r-- | libavcodec/avcodec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/avcodec.c b/libavcodec/avcodec.c index db8226f9b3..638cb55146 100644 --- a/libavcodec/avcodec.c +++ b/libavcodec/avcodec.c @@ -34,6 +34,7 @@ #include "libavutil/opt.h" #include "libavutil/thread.h" #include "avcodec.h" +#include "avcodec_internal.h" #include "bsf.h" #include "codec_internal.h" #include "decode.h" |