summaryrefslogtreecommitdiff
path: root/libavcodec/ffv1.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-04-21 10:12:15 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-12-19 01:18:07 +0100
commit485121b92ce7a7447428c53ba875c58c79dc9e6a (patch)
tree4d11ecdd424f91f0df9f5d3664682bb20194ecdd /libavcodec/ffv1.h
parent17605d1a4afa5761271b27b2aea756a772ca0efc (diff)
avcodec/ffv1, ffv1dec: Add const where appropriate
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/ffv1.h')
-rw-r--r--libavcodec/ffv1.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/ffv1.h b/libavcodec/ffv1.h
index 473780c876..8ffe5ab433 100644
--- a/libavcodec/ffv1.h
+++ b/libavcodec/ffv1.h
@@ -139,11 +139,11 @@ typedef struct FFV1Context {
} FFV1Context;
int ff_ffv1_common_init(AVCodecContext *avctx);
-int ff_ffv1_init_slice_state(FFV1Context *f, FFV1Context *fs);
+int ff_ffv1_init_slice_state(const FFV1Context *f, FFV1Context *fs);
int ff_ffv1_init_slices_state(FFV1Context *f);
int ff_ffv1_init_slice_contexts(FFV1Context *f);
int ff_ffv1_allocate_initial_states(FFV1Context *f);
-void ff_ffv1_clear_slice_state(FFV1Context *f, FFV1Context *fs);
+void ff_ffv1_clear_slice_state(const FFV1Context *f, FFV1Context *fs);
int ff_ffv1_close(AVCodecContext *avctx);
static av_always_inline int fold(int diff, int bits)