[FFmpeg-cvslog] imgutils: make systematic palette opaque.
Carl Eugen Hoyos
git at videolan.org
Tue May 27 02:35:54 CEST 2014
ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Fri Dec 23 11:43:29 2011 +0100| [4d8c28deab2488579f585406110b1be790896e59] | committer: Anton Khirnov
imgutils: make systematic palette opaque.
Signed-off-by: Anton Khirnov <anton at khirnov.net>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4d8c28deab2488579f585406110b1be790896e59
---
libavutil/imgutils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavutil/imgutils.c b/libavutil/imgutils.c
index a8b4d2a..813724b 100644
--- a/libavutil/imgutils.c
+++ b/libavutil/imgutils.c
@@ -170,7 +170,7 @@ int avpriv_set_systematic_pal2(uint32_t pal[256], enum AVPixelFormat pix_fmt)
default:
return AVERROR(EINVAL);
}
- pal[i] = b + (g<<8) + (r<<16);
+ pal[i] = b + (g << 8) + (r << 16) + (0xFFU << 24);
}
return 0;
More information about the ffmpeg-cvslog
mailing list