summaryrefslogtreecommitdiff
path: root/libavcodec/internal.h
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2020-06-09 18:35:00 -0300
committerJames Almer <jamrial@gmail.com>2020-06-18 17:11:37 -0300
commit93016f5d1d280f9cb7856883af287fa66affc04c (patch)
tree4f479125115fb53b64b7afc9c6447d24ae441e6e /libavcodec/internal.h
parent827d6fe73d2f5472c1c2128eb14fab6a4db29032 (diff)
avcodec/encode: restructure the old encode API
Following the same logic as 061a0c14bb, this commit turns the old encode API into a wrapper for the new one. Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/internal.h')
-rw-r--r--libavcodec/internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/internal.h b/libavcodec/internal.h
index 78f0e444fa..21708df12e 100644
--- a/libavcodec/internal.h
+++ b/libavcodec/internal.h
@@ -186,6 +186,7 @@ typedef struct AVCodecInternal {
* of the packet (that should be submitted in the next decode call */
size_t compat_decode_partial_size;
AVFrame *compat_decode_frame;
+ AVPacket *compat_encode_packet;
int showed_multi_packet_warning;