diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-10-14 03:34:16 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-14 03:34:16 +0200 |
commit | 2fed05f53a881b64a02de7a324d67d8c029c6cf1 (patch) | |
tree | e250fe74aa4036d1c42a55c81ff2781861b4b178 /libavutil/imgutils.c | |
parent | b12d92efd6c0d48665383a9baecc13e7ebbd8a22 (diff) | |
download | ffmpeg-streaming-2fed05f53a881b64a02de7a324d67d8c029c6cf1.zip ffmpeg-streaming-2fed05f53a881b64a02de7a324d67d8c029c6cf1.tar.gz |
avoid more "0xFF << 24" as it is considered a integer overflow in C99
missed these in my previous search and replace
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/imgutils.c')
-rw-r--r-- | libavutil/imgutils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/imgutils.c b/libavutil/imgutils.c index 57ee07d..e4460d3 100644 --- a/libavutil/imgutils.c +++ b/libavutil/imgutils.c @@ -180,7 +180,7 @@ int ff_set_systematic_pal2(uint32_t pal[256], enum AVPixelFormat pix_fmt) default: return AVERROR(EINVAL); } - pal[i] = b + (g<<8) + (r<<16) + (0xFF<<24); + pal[i] = b + (g<<8) + (r<<16) + (0xFFU<<24); } return 0; |