From 90d475a9e7ecc03f9b3067a90225a9438ac84b9f Mon Sep 17 00:00:00 2001 From: ami_stuff Date: Mon, 27 Jun 2011 09:40:53 +0200 Subject: Support fourcc YV16 (ticket 307). --- libavcodec/rawdec.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libavcodec/rawdec.c') diff --git a/libavcodec/rawdec.c b/libavcodec/rawdec.c index 503351e68a..04aa51edc2 100644 --- a/libavcodec/rawdec.c +++ b/libavcodec/rawdec.c @@ -199,6 +199,7 @@ static int raw_decode(AVCodecContext *avctx, flip(avctx, picture); if ( avctx->codec_tag == MKTAG('Y', 'V', '1', '2') + || avctx->codec_tag == MKTAG('Y', 'V', '1', '6') || avctx->codec_tag == MKTAG('Y', 'V', 'U', '9')) FFSWAP(uint8_t *, picture->data[1], picture->data[2]); -- cgit v1.2.3