mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
avcodec/rangecoder: factorize termination version code
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
41c1643d75
commit
1be9a28f8e
6 changed files with 10 additions and 12 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue