Browse Source

avcodec/roqvideodec: set JPEG output color range

Signed-off-by: Eric Lasota <ejlasota@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.3
Eric Lasota Michael Niedermayer 11 years ago
parent
commit
586406980f
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/roqvideodec.c

+ 1
- 0
libavcodec/roqvideodec.c View 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;
}


Loading…
Cancel
Save