aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vp9.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2015-09-02 16:47:51 -0400
committerRonald S. Bultje <rsbultje@gmail.com>2015-09-04 09:33:45 -0400
commit7cc7d13fe32fc3fb8c53d1063b777a3b8b864d7c (patch)
tree5cd1d2c209a0998979135fa11a1cf911909f62b9 /libavcodec/vp9.c
parentecd9f57edcbdbef057724e164d8e67bf8b489f01 (diff)
downloadffmpeg-7cc7d13fe32fc3fb8c53d1063b777a3b8b864d7c.tar.gz
vp9: fix RGB chroma subsampling.
Diffstat (limited to 'libavcodec/vp9.c')
-rw-r--r--libavcodec/vp9.c2
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)) {