diff options
author | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2010-01-12 03:29:26 +0300 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2010-01-12 03:29:26 +0300 |
commit | 0941ee0fa656eb3abc2bdf8abd57fa0eb8dd8bac (patch) | |
tree | 733e91adfce47097debd9531718532d86c3d5ac1 /libavcodec/rawdec.c | |
parent | dc0d86facecd5b017fec4cd1cc3b0a55b31b0014 (diff) |
Support uncompressed ("Resolution 1:1") Avid AVI Codec, (partially) fixes issue 1474.
Originally committed as revision 21154 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/rawdec.c')
-rw-r--r-- | libavcodec/rawdec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/rawdec.c b/libavcodec/rawdec.c index fe96440fce..47fcc7081a 100644 --- a/libavcodec/rawdec.c +++ b/libavcodec/rawdec.c @@ -74,6 +74,8 @@ static av_cold int raw_init_decoder(AVCodecContext *avctx) 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) |