mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
rangecoder: fix "incompatible pointer type" warning
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
106790a4e9
commit
bd2613a322
@ -54,7 +54,7 @@ void ff_init_range_decoder(RangeCoder *c, const uint8_t *buf, int buf_size){
|
|||||||
/* cast to avoid compiler warning */
|
/* cast to avoid compiler warning */
|
||||||
ff_init_range_encoder(c, (uint8_t *) buf, buf_size);
|
ff_init_range_encoder(c, (uint8_t *) buf, buf_size);
|
||||||
|
|
||||||
c->low = bytestream_get_be16(&c->bytestream);
|
c->low = bytestream_get_be16((const uint8_t **)&c->bytestream);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ff_build_rac_states(RangeCoder *c, int factor, int max_p){
|
void ff_build_rac_states(RangeCoder *c, int factor, int max_p){
|
||||||
|
Loading…
Reference in New Issue
Block a user