diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2015-09-02 16:47:51 -0400 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2015-09-04 09:33:45 -0400 |
commit | 7cc7d13fe32fc3fb8c53d1063b777a3b8b864d7c (patch) | |
tree | 5cd1d2c209a0998979135fa11a1cf911909f62b9 | |
parent | ecd9f57edcbdbef057724e164d8e67bf8b489f01 (diff) | |
download | ffmpeg-7cc7d13fe32fc3fb8c53d1063b777a3b8b864d7c.tar.gz |
vp9: fix RGB chroma subsampling.
-rw-r--r-- | libavcodec/vp9.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)) { |