diff options
author | James Zern <jzern@google.com> | 2017-08-18 16:37:02 -0700 |
---|---|---|
committer | James Zern <jzern@google.com> | 2017-08-21 20:01:56 -0700 |
commit | d8269519e4a338fa9521612db9b68c04a0fb2deb (patch) | |
tree | 4c55c24915e230819d407daf81b43b9a56ecc70f /libavcodec/vp9.c | |
parent | 20a6b198b4849a5934736ac43517d24a70d20840 (diff) | |
download | ffmpeg-d8269519e4a338fa9521612db9b68c04a0fb2deb.tar.gz |
vp9: set color range to MPEG for intraonly profile 0
this is undocumented in the vp9 bitstream and decoding specification
doc, but matches libvpx
Reviewed-by: "Ronald S. Bultje" <rsbultje@gmail.com>
Signed-off-by: James Zern <jzern@google.com>
Diffstat (limited to 'libavcodec/vp9.c')
-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 7d8aced8c8..94430db9a3 100644 --- a/libavcodec/vp9.c +++ b/libavcodec/vp9.c @@ -459,7 +459,7 @@ static int decode_frame_header(AVCodecContext *avctx, s->bytesperpixel = 1; s->pix_fmt = AV_PIX_FMT_YUV420P; avctx->colorspace = AVCOL_SPC_BT470BG; - avctx->color_range = AVCOL_RANGE_JPEG; + avctx->color_range = AVCOL_RANGE_MPEG; } s->s.h.refreshrefmask = get_bits(&s->gb, 8); w = get_bits(&s->gb, 16) + 1; |