mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
cook: silence some signed overflow warnings.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
4707f1da8a
commit
3a5836038d
@ -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 inline int decode_bytes(const uint8_t *inbuffer, uint8_t *out, int bytes)
|
||||||
{
|
{
|
||||||
static const uint32_t tab[4] = {
|
static const uint32_t tab[4] = {
|
||||||
AV_BE2NE32C(0x37c511f2), AV_BE2NE32C(0xf237c511),
|
AV_BE2NE32C(0x37c511f2U), AV_BE2NE32C(0xf237c511U),
|
||||||
AV_BE2NE32C(0x11f237c5), AV_BE2NE32C(0xc511f237),
|
AV_BE2NE32C(0x11f237c5U), AV_BE2NE32C(0xc511f237U),
|
||||||
};
|
};
|
||||||
int i, off;
|
int i, off;
|
||||||
uint32_t c;
|
uint32_t c;
|
||||||
|
Loading…
Reference in New Issue
Block a user