[FFmpeg-cvslog] rawdec: Support fourccs YV16 and YV24

Piotr Bandurski git at videolan.org
Wed Apr 4 21:33:48 CEST 2012


ffmpeg | branch: master | Piotr Bandurski <ami_stuff at o2.pl> | Wed Dec 28 04:50:27 2011 +0000| [835a893bcb27486993627d35581bc0ffa141d6bb] | committer: Derek Buitenhuis

rawdec: Support fourccs YV16 and YV24

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=835a893bcb27486993627d35581bc0ffa141d6bb
---

 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]);
 



More information about the ffmpeg-cvslog mailing list