aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-10-08 03:06:04 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-10-08 03:06:04 +0200
commitbd2613a3220575297e4e6ddfdd9d8b921a83e75c (patch)
treeaf8596d2ca2f5d1ef1b4718b5df956c8213f1392 /libavcodec
parent106790a4e92f40fedbe20631c693c95c7c8f3039 (diff)
downloadffmpeg-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.c2
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){