mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
dvbsubdec: avoid undefined signed left shift in RGBA macro
This commit is contained in:
parent
ca085e667b
commit
6a4cf065c7
@ -150,7 +150,7 @@ static void png_save2(const char *filename, uint32_t *bitmap, int w, int h)
|
||||
}
|
||||
#endif
|
||||
|
||||
#define RGBA(r,g,b,a) (((a) << 24) | ((r) << 16) | ((g) << 8) | (b))
|
||||
#define RGBA(r,g,b,a) (((unsigned)(a) << 24) | ((r) << 16) | ((g) << 8) | (b))
|
||||
|
||||
typedef struct DVBSubCLUT {
|
||||
int id;
|
||||
|
Loading…
x
Reference in New Issue
Block a user