changeset 10850:98520e1f1f53 libavcodec

Support uncompressed ("Resolution 1:1") Avid AVI Codec, (partially) fixes issue 1474.
author cehoyos
date Tue, 12 Jan 2010 00:29:26 +0000
parents e8f4b9e41b7a
children 07dbba7c16ec
files rawdec.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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)