vp9: fix RGB chroma subsampling.

This commit is contained in:
Ronald S. Bultje 2015-09-02 16:47:51 -04:00
parent ecd9f57edc
commit 7cc7d13fe3

View File

@ -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)) {