[FFmpeg-cvslog] cook: silence some signed overflow warnings.
Michael Niedermayer
git at videolan.org
Wed Mar 7 01:00:14 CET 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Mar 7 00:29:23 2012 +0100| [3a5836038d2a6a23f2f37010773a62088a2fcb12] | committer: Michael Niedermayer
cook: silence some signed overflow warnings.
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3a5836038d2a6a23f2f37010773a62088a2fcb12
---
libavcodec/cook.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavcodec/cook.c b/libavcodec/cook.c
index b5b5887..e63ceca 100644
--- a/libavcodec/cook.c
+++ b/libavcodec/cook.c
@@ -280,8 +280,8 @@ static av_cold void init_cplscales_table(COOKContext *q)
static inline int decode_bytes(const uint8_t *inbuffer, uint8_t *out, int bytes)
{
static const uint32_t tab[4] = {
- AV_BE2NE32C(0x37c511f2), AV_BE2NE32C(0xf237c511),
- AV_BE2NE32C(0x11f237c5), AV_BE2NE32C(0xc511f237),
+ AV_BE2NE32C(0x37c511f2U), AV_BE2NE32C(0xf237c511U),
+ AV_BE2NE32C(0x11f237c5U), AV_BE2NE32C(0xc511f237U),
};
int i, off;
uint32_t c;
More information about the ffmpeg-cvslog
mailing list