[FFmpeg-cvslog] avcodec/roqvideodec: set JPEG output color range

Eric Lasota git at videolan.org
Mon Jul 7 03:06:35 CEST 2014


ffmpeg | branch: master | Eric Lasota <ejlasota at gmail.com> | Sun Jul  6 18:13:14 2014 -0400| [586406980f492466b4b74d8cbb551f49861069ce] | committer: Michael Niedermayer

avcodec/roqvideodec: set JPEG output color range

Signed-off-by: Eric Lasota <ejlasota at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=586406980f492466b4b74d8cbb551f49861069ce
---

 libavcodec/roqvideodec.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/roqvideodec.c b/libavcodec/roqvideodec.c
index 413b66d..8efa300 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;
 }



More information about the ffmpeg-cvslog mailing list