Unified · Split
| @@ -116,10 +116,10 @@ static int alloc_table(VLC *vlc, int size, int use_static) · 115 unmodified lines | |||
| 116 | } | 116 | } |
| 117 | 117 | ||
| 118 | static av_always_inline uint32_t bitswap_32(uint32_t x) { | 118 | static av_always_inline uint32_t bitswap_32(uint32_t x) { |
| 119 | return av_reverse[x&0xFF]<<24 | 119 | return (uint32_t)av_reverse[x&0xFF]<<24 |
| 120 | | av_reverse[(x>>8)&0xFF]<<16 | 120 | | (uint32_t)av_reverse[(x>>8)&0xFF]<<16 |
| 121 | | av_reverse[(x>>16)&0xFF]<<8 | 121 | | (uint32_t)av_reverse[(x>>16)&0xFF]<<8 |
| 122 | | av_reverse[x>>24]; | 122 | | (uint32_t)av_reverse[x>>24]; |
| 123 | } | 123 | } |
| 124 | 124 | ||
| 125 | typedef struct { | 125 | typedef struct { |