From 7cc7d13fe32fc3fb8c53d1063b777a3b8b864d7c Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Wed, 2 Sep 2015 16:47:51 -0400 Subject: vp9: fix RGB chroma subsampling. --- libavcodec/vp9.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c index e3593e7332..760f045fb8 100644 --- a/libavcodec/vp9.c +++ b/libavcodec/vp9.c @@ -500,7 +500,7 @@ static enum AVPixelFormat read_colorspace_details(AVCodecContext *ctx) AV_PIX_FMT_GBRP, AV_PIX_FMT_GBRP10, AV_PIX_FMT_GBRP12 }; if (ctx->profile & 1) { - s->ss_h = s->ss_v = 1; + s->ss_h = s->ss_v = 0; res = pix_fmt_rgb[bits]; ctx->color_range = AVCOL_RANGE_JPEG; if (get_bits1(&s->gb)) { -- cgit v1.2.3