aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/decode.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2023-06-20 12:29:50 +0200
committerAnton Khirnov <anton@khirnov.net>2023-07-07 12:07:23 +0200
commit5e7b5b0090bdf68e0897fe55ee657fdccc0cbca2 (patch)
treeb17d0a7ab1deb513fcb36c650dfd1426ed87a339 /libavcodec/decode.c
parent83c0f7b046d0efbfa4ac08b51e3c1500071a857f (diff)
downloadffmpeg-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/decode.c')
-rw-r--r--libavcodec/decode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/decode.c b/libavcodec/decode.c
index 6ee2c85a75..336635f772 100644
--- a/libavcodec/decode.c
+++ b/libavcodec/decode.c
@@ -41,6 +41,7 @@
#include "libavutil/opt.h"
#include "avcodec.h"
+#include "avcodec_internal.h"
#include "bytestream.h"
#include "bsf.h"
#include "codec_internal.h"