aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/internal.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-04-14 04:09:53 +0200
committerJames Almer <jamrial@gmail.com>2021-04-27 10:43:12 -0300
commit7c1f347b184b6738abdc22fdcda40baa9f932522 (patch)
treeec42fcaeda4ce0beaff72af7fb73fb9cebb6d31c /libavcodec/internal.h
parent11bc79089378a5ec00547d0f85bc152afdf30dfa (diff)
downloadffmpeg-7c1f347b184b6738abdc22fdcda40baa9f932522.tar.gz
avcodec: Remove deprecated old encode/decode APIs
Deprecated in commits 7fc329e2dd6226dfecaa4a1d7adf353bf2773726 and 31f6a4b4b83aca1d73f3cfc99ce2b39331970bf3. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/internal.h')
-rw-r--r--libavcodec/internal.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/libavcodec/internal.h b/libavcodec/internal.h
index b57b996816..b101f20c40 100644
--- a/libavcodec/internal.h
+++ b/libavcodec/internal.h
@@ -136,10 +136,6 @@ typedef struct AVCodecInternal {
*/
int last_audio_frame;
-#if FF_API_OLD_ENCDEC
- AVFrame *to_free;
-#endif
-
AVBufferRef *pool;
void *thread_ctx;
@@ -186,18 +182,6 @@ typedef struct AVCodecInternal {
AVFrame *buffer_frame;
int draining_done;
-#if FF_API_OLD_ENCDEC
- int compat_decode_warned;
- /* this variable is set by the decoder internals to signal to the old
- * API compat wrappers the amount of data consumed from the last packet */
- size_t compat_decode_consumed;
- /* when a partial packet has been consumed, this stores the remaining size
- * 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;
-#endif
-
int showed_multi_packet_warning;
int skip_samples_multiplier;