aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/internal.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2023-06-20 13:02:59 +0200
committerAnton Khirnov <anton@khirnov.net>2023-07-07 12:07:23 +0200
commitf2fb882b3f0046493e40306724a6d855b12e2121 (patch)
tree34164243afceeeccb04aec3df950cb975a979322 /libavcodec/internal.h
parent21de4db402cc40734b30685f9435538e7d35ef9a (diff)
downloadffmpeg-f2fb882b3f0046493e40306724a6d855b12e2121.tar.gz
lavc: add generic-decode-layer private data
Move AVCodecInternal.nb_draining_errors to it, should should not be visible outside of decode.c.
Diffstat (limited to 'libavcodec/internal.h')
-rw-r--r--libavcodec/internal.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/internal.h b/libavcodec/internal.h
index dceae182c0..0c1f0b82ea 100644
--- a/libavcodec/internal.h
+++ b/libavcodec/internal.h
@@ -148,9 +148,6 @@ typedef struct AVCodecInternal {
AVFrame *buffer_frame;
int draining_done;
- /* to prevent infinite loop on errors when draining */
- int nb_draining_errors;
-
/* used when avctx flag AV_CODEC_FLAG_DROPCHANGED is set */
int changed_frames_dropped;
int initial_format;