diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2018-12-19 04:40:18 +0300 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-12-31 19:44:18 +0300 |
commit | 1be9a28f8e8cd2553f978670901174a8808b9a1a (patch) | |
tree | cacd06dd17448c1e95df7137c4b9f2781b7e04a0 /libavcodec/rangecoder.h | |
parent | 41c1643d75860208d6debb8cb85d3edbd9457bd3 (diff) |
avcodec/rangecoder: factorize termination version code
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/rangecoder.h')
-rw-r--r-- | libavcodec/rangecoder.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/rangecoder.h b/libavcodec/rangecoder.h index 44af88b8f5..e5c7a3cc71 100644 --- a/libavcodec/rangecoder.h +++ b/libavcodec/rangecoder.h @@ -48,7 +48,7 @@ typedef struct RangeCoder { void ff_init_range_encoder(RangeCoder *c, uint8_t *buf, int buf_size); void ff_init_range_decoder(RangeCoder *c, const uint8_t *buf, int buf_size); -int ff_rac_terminate(RangeCoder *c); +int ff_rac_terminate(RangeCoder *c, int version); void ff_build_rac_states(RangeCoder *c, int factor, int max_p); static inline void renorm_encoder(RangeCoder *c) |