Browse Source

Kill a warning and don't use modulus.

Originally committed as revision 7754 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Benjamin Larsson 19 years ago
parent
commit
6e584be16c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/cook.c

+ 1
- 1
libavcodec/cook.c View File

@@ -303,7 +303,7 @@ static inline int decode_bytes(uint8_t* inbuffer, uint8_t* out, int bytes){
* (int64_t)out[i] = 0x37c511f237c511f2^be2me_64(int64_t)in[i]);
* Buffer alignment needs to be checked. */

off = (uint32_t)inbuffer % 4;
off = (int)((long)inbuffer & 3);
buf = (uint32_t*) (inbuffer - off);
c = be2me_32((0x37c511f2 >> (off*8)) | (0x37c511f2 << (32-(off*8))));
bytes += 3 + off;


Loading…
Cancel
Save