[vlc-commits] codec: scte27: fix reading YCrCb into YCbCr (fix #17787)
Francois Cartegnie
git at videolan.org
Fri Dec 16 15:57:37 CET 2016
vlc/vlc-2.2 | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Dec 16 15:52:03 2016 +0100| [d2682f67ba2ff21f62b1489c76b5056758ab5836] | committer: Francois Cartegnie
codec: scte27: fix reading YCrCb into YCbCr (fix #17787)
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=d2682f67ba2ff21f62b1489c76b5056758ab5836
---
modules/codec/scte27.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/codec/scte27.c b/modules/codec/scte27.c
index 527e4e4..edf5d50 100644
--- a/modules/codec/scte27.c
+++ b/modules/codec/scte27.c
@@ -76,8 +76,8 @@ static scte27_color_t bs_read_color(bs_t *bs)
/* XXX it's unclear if a value of 0 in Y/U/V means a transparent pixel */
color.y = bs_read(bs, 5) << 3;
color.alpha = bs_read1(bs) ? 0xff : 0x80;
- color.u = bs_read(bs, 5) << 3;
color.v = bs_read(bs, 5) << 3;
+ color.u = bs_read(bs, 5) << 3;
return color;
}
More information about the vlc-commits
mailing list