aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorPiotr Bandurski <ami_stuff@o2.pl>2011-12-28 04:50:27 +0000
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>2012-04-03 15:48:53 -0400
commit835a893bcb27486993627d35581bc0ffa141d6bb (patch)
treee2e8ba2806fa80a87b36da45e1627535f3c068f1 /libavcodec
parent34d908c083361f607879c717d7367109786b858d (diff)
downloadffmpeg-835a893bcb27486993627d35581bc0ffa141d6bb.tar.gz
rawdec: Support fourccs YV16 and YV24
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/rawdec.c2
1 files changed, 2 insertions, 0 deletions
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]);