diff options
author | Piotr Bandurski <ami_stuff@o2.pl> | 2011-12-28 04:50:27 +0000 |
---|---|---|
committer | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2012-04-03 15:48:53 -0400 |
commit | 835a893bcb27486993627d35581bc0ffa141d6bb (patch) | |
tree | e2e8ba2806fa80a87b36da45e1627535f3c068f1 /libavcodec/rawdec.c | |
parent | 34d908c083361f607879c717d7367109786b858d (diff) | |
download | ffmpeg-835a893bcb27486993627d35581bc0ffa141d6bb.tar.gz |
rawdec: Support fourccs YV16 and YV24
Diffstat (limited to 'libavcodec/rawdec.c')
-rw-r--r-- | libavcodec/rawdec.c | 2 |
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]); |