[FFmpeg-cvslog] Make systematic palette opaque.
Carl Eugen Hoyos
git at videolan.org
Fri Dec 23 11:57:42 CET 2011
ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Fri Dec 23 11:43:29 2011 +0100| [c25c7ba87c56917f2411bb70cc2d73a795bdd66d] | committer: Carl Eugen Hoyos
Make systematic palette opaque.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c25c7ba87c56917f2411bb70cc2d73a795bdd66d
---
libavutil/imgutils.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavutil/imgutils.c b/libavutil/imgutils.c
index 6e97085..3847c53 100644
--- a/libavutil/imgutils.c
+++ b/libavutil/imgutils.c
@@ -175,7 +175,7 @@ int ff_set_systematic_pal2(uint32_t pal[256], enum PixelFormat pix_fmt)
default:
return AVERROR(EINVAL);
}
- pal[i] = b + (g<<8) + (r<<16);
+ pal[i] = b + (g<<8) + (r<<16) + (0xFF<<24);
}
return 0;
More information about the ffmpeg-cvslog
mailing list