# HG changeset patch # User cehoyos # Date 1263256166 0 # Node ID 98520e1f1f538a65c1d581b316ec2935168b5268 # Parent e8f4b9e41b7ac30a8f162d1d428462cfbdf129a5 Support uncompressed ("Resolution 1:1") Avid AVI Codec, (partially) fixes issue 1474. diff -r e8f4b9e41b7a -r 98520e1f1f53 rawdec.c --- a/rawdec.c Mon Jan 11 20:21:26 2010 +0000 +++ b/rawdec.c Tue Jan 12 00:29:26 2010 +0000 @@ -74,6 +74,8 @@ if (avctx->codec_tag == MKTAG('r','a','w',' ')) avctx->pix_fmt = findPixelFormat(pixelFormatBpsMOV, avctx->bits_per_coded_sample); + else if (avctx->codec_tag == MKTAG('A', 'V', 'R', 'n')) + avctx->pix_fmt = PIX_FMT_UYVY422; // Avid AVI Codec "Resolution 1:1" else if (avctx->codec_tag) avctx->pix_fmt = findPixelFormat(ff_raw_pixelFormatTags, avctx->codec_tag); else if (avctx->bits_per_coded_sample)