diff options
author | ami_stuff <ami_stuff@o2.pl> | 2011-06-27 09:40:53 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-06-27 09:40:53 +0200 |
commit | 90d475a9e7ecc03f9b3067a90225a9438ac84b9f (patch) | |
tree | 8398eaf825606bf2bed5f3f5c1900769cc4c7c8b /libavcodec/rawdec.c | |
parent | e747b091cbc6b41f3531cfdf9d1bdd34606b1df3 (diff) | |
download | ffmpeg-90d475a9e7ecc03f9b3067a90225a9438ac84b9f.tar.gz |
Support fourcc YV16 (ticket 307).
Diffstat (limited to 'libavcodec/rawdec.c')
-rw-r--r-- | libavcodec/rawdec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/rawdec.c b/libavcodec/rawdec.c index 503351e68a..04aa51edc2 100644 --- a/libavcodec/rawdec.c +++ b/libavcodec/rawdec.c @@ -199,6 +199,7 @@ 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', 'U', '9')) FFSWAP(uint8_t *, picture->data[1], picture->data[2]); |