Module: libav
Branch: master
Commit: 835a893bcb27486993627d35581bc0ffa141d6bb

Author:    Piotr Bandurski <[email protected]>
Committer: Derek Buitenhuis <[email protected]>
Date:      Wed Dec 28 04:50:27 2011 +0000

rawdec: Support fourccs YV16 and YV24

---

 libavcodec/rawdec.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/libavcodec/rawdec.c b/libavcodec/rawdec.c
index ff6316a..016acd9 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]);
 

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to