[vlc-commits] png: fix inverted chroma
Tristan Matthews
git at videolan.org
Wed Aug 10 15:07:51 CEST 2016
vlc | branch: master | Tristan Matthews <tmatth at videolan.org> | Wed Aug 10 08:38:09 2016 -0400| [ef12e43bd231470a7bab73aeb327b8a538d4c498] | committer: Tristan Matthews
png: fix inverted chroma
Due to fix in 5133b722d47ebe1a87918f9bb5f33e00cf2fa2de
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ef12e43bd231470a7bab73aeb327b8a538d4c498
---
modules/codec/png.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/modules/codec/png.c b/modules/codec/png.c
index fa46d84..4174764 100644
--- a/modules/codec/png.c
+++ b/modules/codec/png.c
@@ -255,9 +255,6 @@ static picture_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
p_dec->fmt_out.video.i_visible_height = p_dec->fmt_out.video.i_height = i_height;
p_dec->fmt_out.video.i_sar_num = 1;
p_dec->fmt_out.video.i_sar_den = 1;
- p_dec->fmt_out.video.i_rmask = 0x000000ff;
- p_dec->fmt_out.video.i_gmask = 0x0000ff00;
- p_dec->fmt_out.video.i_bmask = 0x00ff0000;
if( i_color_type == PNG_COLOR_TYPE_PALETTE )
png_set_palette_to_rgb( p_png );
@@ -339,9 +336,6 @@ static int OpenEncoder(vlc_object_t *p_this)
p_enc->fmt_in.video.i_visible_height;
p_enc->fmt_in.i_codec = VLC_CODEC_RGB24;
- p_enc->fmt_in.video.i_rmask = 0x000000ff;
- p_enc->fmt_in.video.i_gmask = 0x0000ff00;
- p_enc->fmt_in.video.i_bmask = 0x00ff0000;
p_enc->pf_encode_video = EncodeBlock;
return VLC_SUCCESS;
More information about the vlc-commits
mailing list