summaryrefslogtreecommitdiff
path: root/libavcodec/internal.h
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2020-03-08 23:18:16 -0300
committerJames Almer <jamrial@gmail.com>2020-05-09 21:02:20 -0300
commit6dd5da3f8b5a6dad4850e60ba26be0623c9a9bcb (patch)
treec9c0bfb67faf0ea648b1cfccdca7303d5e6f5a9a /libavcodec/internal.h
parentc76b2bf0b4e752455e5ffbd7dee12e935c2eaccd (diff)
avcodec/decode: remove unused AVCodecInternal compat_decode field
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/internal.h')
-rw-r--r--libavcodec/internal.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/internal.h b/libavcodec/internal.h
index df82789cdc..0e3415d69b 100644
--- a/libavcodec/internal.h
+++ b/libavcodec/internal.h
@@ -173,8 +173,6 @@ typedef struct AVCodecInternal {
int buffer_pkt_valid; // encoding: packet without data can be valid
AVFrame *buffer_frame;
int draining_done;
- /* set to 1 when the caller is using the old decoding API */
- int compat_decode;
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 */