diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-10-08 03:06:04 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-08 03:06:04 +0200 |
commit | bd2613a3220575297e4e6ddfdd9d8b921a83e75c (patch) | |
tree | af8596d2ca2f5d1ef1b4718b5df956c8213f1392 /libavcodec | |
parent | 106790a4e92f40fedbe20631c693c95c7c8f3039 (diff) | |
download | ffmpeg-bd2613a3220575297e4e6ddfdd9d8b921a83e75c.tar.gz |
rangecoder: fix "incompatible pointer type" warning
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-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){ |