Mercurial > libavcodec.hg
diff rawdec.c @ 9712:1cc354a5242c libavcodec
Support YVU9 AVI 4cc.
Fixes issue1068.
author | michael |
---|---|
date | Tue, 26 May 2009 03:51:00 +0000 |
parents | 3ac52a187883 |
children | 45d331133468 |
line wrap: on
line diff
--- a/rawdec.c Mon May 25 22:19:35 2009 +0000 +++ b/rawdec.c Tue May 26 03:51:00 2009 +0000 @@ -139,7 +139,8 @@ if(context->flip) flip(avctx, picture); - if (avctx->codec_tag == MKTAG('Y', 'V', '1', '2')) + if ( avctx->codec_tag == MKTAG('Y', 'V', '1', '2') + || avctx->codec_tag == MKTAG('Y', 'V', 'U', '9')) { // swap fields unsigned char *tmp = picture->data[1];