avcodec/roqvideodec: set JPEG output color range
authorEric Lasota <ejlasota@gmail.com>
Sun, 6 Jul 2014 22:13:14 +0000 (18:13 -0400)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 7 Jul 2014 01:06:00 +0000 (03:06 +0200)
Signed-off-by: Eric Lasota <ejlasota@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/roqvideodec.c

index 413b66d..8efa300 100644 (file)
@@ -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;
 }