summaryrefslogtreecommitdiff
path: root/libavcodec/ffv1.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-08-14 13:37:56 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-08-18 16:57:47 +0200
commit7e9a79044105a649c6091049909ad242e6b35d2e (patch)
treef61d21aad6e95ddd978a9c897d50640217d508e4 /libavcodec/ffv1.h
parentf76cef5c518a9874ec4e3b4b36c5b909c3452919 (diff)
downloadffmpeg-7e9a79044105a649c6091049909ad242e6b35d2e.tar.gz
avcodec/ffv1enc: Don't create and keep unnecessary reference
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/ffv1.h')
-rw-r--r--libavcodec/ffv1.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/ffv1.h b/libavcodec/ffv1.h
index ac80fa85ce..3532815501 100644
--- a/libavcodec/ffv1.h
+++ b/libavcodec/ffv1.h
@@ -91,6 +91,7 @@ typedef struct FFV1Context {
struct FFV1Context *fsrc;
AVFrame *cur;
+ const AVFrame *cur_enc_frame;
int plane_count;
int ac; ///< 1=range coder <-> 0=golomb rice
int ac_byte_count; ///< number of bytes used for AC coding