diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2009-03-17 20:47:31 +0000 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2009-03-17 20:47:31 +0000 |
commit | e05c8d068203c7cba9afdffe851aa1732bb8a809 (patch) | |
tree | 70b29176daa66d22434b886f5f5510bbe4baf5ed /libavcodec/atrac3.c | |
parent | d4da3e4790fabcd0fb27c025c12e6d960d22ef80 (diff) | |
download | ffmpeg-e05c8d068203c7cba9afdffe851aa1732bb8a809.tar.gz |
use intptr_t to cast pointers to int in codecs maintained by benjamin larsson
Originally committed as revision 18027 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/atrac3.c')
-rw-r--r-- | libavcodec/atrac3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/atrac3.c b/libavcodec/atrac3.c index 81d25ec204..bdb8a8a8d4 100644 --- a/libavcodec/atrac3.c +++ b/libavcodec/atrac3.c @@ -230,7 +230,7 @@ static int decode_bytes(const uint8_t* inbuffer, uint8_t* out, int bytes){ const uint32_t* buf; uint32_t* obuf = (uint32_t*) out; - off = (int)((long)inbuffer & 3); + off = (intptr_t)inbuffer & 3; buf = (const uint32_t*) (inbuffer - off); c = be2me_32((0x537F6103 >> (off*8)) | (0x537F6103 << (32-(off*8)))); bytes += 3 + off; |