summaryrefslogtreecommitdiff
path: root/libavcodec/rangecoder.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-02-18 19:54:24 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-02-24 08:53:43 +0100
commitbce9c5e276be3da2cc44f6ff04673c7f1e8bfb2f (patch)
tree420c08680e8cbd8379a4deff4f7e00a93ab8e410 /libavcodec/rangecoder.h
parentf729dee615542f69c071d2759417e03a5645ef8a (diff)
avcodec/rangecoder: Move ff_rac_check_termination to tests/rangecoder.c
It is only used there. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/rangecoder.h')
-rw-r--r--libavcodec/rangecoder.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/libavcodec/rangecoder.h b/libavcodec/rangecoder.h
index 4d4ca4d526..4495f6df1a 100644
--- a/libavcodec/rangecoder.h
+++ b/libavcodec/rangecoder.h
@@ -57,15 +57,6 @@ void ff_init_range_decoder(RangeCoder *c, const uint8_t *buf, int buf_size);
*/
int ff_rac_terminate(RangeCoder *c, int version);
-/**
- * Check if at the current position there is a valid looking termination
- * @param version version 0 requires the decoder to know the data size in bytes
- * version 1 needs about 1 bit more space but does not need to
- * carry the size from encoder to decoder
- * @returns negative AVERROR code on error or non negative.
- */
-int ff_rac_check_termination(RangeCoder *c, int version);
-
void ff_build_rac_states(RangeCoder *c, int factor, int max_p);
static inline void renorm_encoder(RangeCoder *c)