From 835a893bcb27486993627d35581bc0ffa141d6bb Mon Sep 17 00:00:00 2001 From: Piotr Bandurski Date: Wed, 28 Dec 2011 04:50:27 +0000 Subject: rawdec: Support fourccs YV16 and YV24 --- libavcodec/rawdec.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavcodec/rawdec.c') diff --git a/libavcodec/rawdec.c b/libavcodec/rawdec.c index ff6316aa73..016acd95af 100644 --- a/libavcodec/rawdec.c +++ b/libavcodec/rawdec.c @@ -179,6 +179,8 @@ 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', '2', '4') || avctx->codec_tag == MKTAG('Y', 'V', 'U', '9')) FFSWAP(uint8_t *, picture->data[1], picture->data[2]); -- cgit v1.2.3