diff options
Diffstat (limited to 'libavcodec/rangecoder.c')
-rw-r--r-- | libavcodec/rangecoder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/rangecoder.c b/libavcodec/rangecoder.c index 8367a79aff..509d968592 100644 --- a/libavcodec/rangecoder.c +++ b/libavcodec/rangecoder.c @@ -54,7 +54,7 @@ void ff_init_range_decoder(RangeCoder *c, const uint8_t *buf, int buf_size){ /* cast to avoid compiler warning */ 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){ |