summaryrefslogtreecommitdiff
path: root/libavcodec/roqvideodec.c
diff options
context:
space:
mode:
authorEric Lasota <ejlasota@gmail.com>2014-07-06 18:13:14 -0400
committerMichael Niedermayer <michaelni@gmx.at>2014-07-07 03:06:00 +0200
commit586406980f492466b4b74d8cbb551f49861069ce (patch)
tree9966ecb1672aeab8416567d4ef9a714bb5c900c4 /libavcodec/roqvideodec.c
parent705eb5a1774938ff6c3bd07af1d7574bf4016581 (diff)
downloadffmpeg-586406980f492466b4b74d8cbb551f49861069ce.tar.gz
avcodec/roqvideodec: set JPEG output color range
Signed-off-by: Eric Lasota <ejlasota@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/roqvideodec.c')
-rw-r--r--libavcodec/roqvideodec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/roqvideodec.c b/libavcodec/roqvideodec.c
index 413b66d233..8efa3001df 100644
--- a/libavcodec/roqvideodec.c
+++ b/libavcodec/roqvideodec.c
@@ -190,6 +190,7 @@ static av_cold int roq_decode_init(AVCodecContext *avctx)
}
avctx->pix_fmt = AV_PIX_FMT_YUVJ444P;
+ avctx->color_range = AVCOL_RANGE_JPEG;
return 0;
}