diff options
author | Måns Rullgård <mans@mansr.com> | 2005-09-06 21:25:35 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2005-09-06 21:25:35 +0000 |
commit | 79396ac68573628f3b59142601db86a0f4ba7ad5 (patch) | |
tree | 4dfa0ec8e3e2e4ae1e1a5508ef8b311892ecf6ff /libavcodec/rangecoder.c | |
parent | b40e353aa49737da9501b092d18011c79def8e30 (diff) | |
download | ffmpeg-79396ac68573628f3b59142601db86a0f4ba7ad5.tar.gz |
Kill some compiler warnings. Compiled code verified identical after changes.
Originally committed as revision 4567 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/rangecoder.c')
-rw-r--r-- | libavcodec/rangecoder.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/rangecoder.c b/libavcodec/rangecoder.c index ba3022c45c..730d5a87c1 100644 --- a/libavcodec/rangecoder.c +++ b/libavcodec/rangecoder.c @@ -49,7 +49,8 @@ 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){ - ff_init_range_encoder(c, buf, buf_size); + /* cast to avoid compiler warning */ + ff_init_range_encoder(c, (uint8_t *) buf, buf_size); c->low =(*c->bytestream++)<<8; c->low+= *c->bytestream++; |