summaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorEric Lasota <ejlasota@gmail.com>2014-07-06 15:42:43 -0400
committerMichael Niedermayer <michaelni@gmx.at>2014-07-06 23:34:58 +0200
commit8be23d424feea50d4ee892cdbdd6abd9a807709f (patch)
treef551634ca92f3d4a1e02da9309593825ce654553 /libavcodec
parent064945b3aa7c06d998d730e9f7e385bcdedbd86d (diff)
downloadffmpeg-streaming-8be23d424feea50d4ee892cdbdd6abd9a807709f.zip
ffmpeg-streaming-8be23d424feea50d4ee892cdbdd6abd9a807709f.tar.gz
avcodec/roqvideo: use JPEG color range
Signed-off-by: ejlasota <ejlasota@gmail.com> Also update fate test checksums Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/roqvideodec.c2
-rw-r--r--libavcodec/roqvideoenc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/roqvideodec.c b/libavcodec/roqvideodec.c
index 322345e..413b66d 100644
--- a/libavcodec/roqvideodec.c
+++ b/libavcodec/roqvideodec.c
@@ -189,7 +189,7 @@ static av_cold int roq_decode_init(AVCodecContext *avctx)
return AVERROR(ENOMEM);
}
- avctx->pix_fmt = AV_PIX_FMT_YUV444P;
+ avctx->pix_fmt = AV_PIX_FMT_YUVJ444P;
return 0;
}
diff --git a/libavcodec/roqvideoenc.c b/libavcodec/roqvideoenc.c
index cae157b..df15196 100644
--- a/libavcodec/roqvideoenc.c
+++ b/libavcodec/roqvideoenc.c
@@ -1097,7 +1097,7 @@ AVCodec ff_roq_encoder = {
.init = roq_encode_init,
.encode2 = roq_encode_frame,
.close = roq_encode_end,
- .pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_YUV444P,
+ .pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_YUVJ444P,
AV_PIX_FMT_NONE },
.priv_class = &roq_class,
};
OpenPOWER on IntegriCloud