From e47ca4f798b753a1abdb8a41edf74a7c99dfa703 Mon Sep 17 00:00:00 2001 From: Ben Littler Date: Mon, 2 Nov 2009 00:10:10 +0000 Subject: [PATCH] map VYUY fourcc to rawcodec fixes http://samples.mplayerhq.hu/V-codecs/ATI-VCR12/ATI/y422test.avi Originally committed as revision 20432 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/raw.c | 1 + libavformat/riff.c | 1 + 2 files changed, 2 insertions(+) diff --git a/libavcodec/raw.c b/libavcodec/raw.c index 48b2093779..63f6b6147a 100644 --- a/libavcodec/raw.c +++ b/libavcodec/raw.c @@ -43,6 +43,7 @@ const PixelFormatTag ff_raw_pixelFormatTags[] = { { PIX_FMT_YUYV422, MKTAG('Y', 'U', 'Y', '2') }, /* Packed formats */ { PIX_FMT_YUYV422, MKTAG('Y', '4', '2', '2') }, { PIX_FMT_YUYV422, MKTAG('V', '4', '2', '2') }, + { PIX_FMT_YUYV422, MKTAG('V', 'Y', 'U', 'Y') }, { PIX_FMT_YUYV422, MKTAG('Y', 'U', 'N', 'V') }, { PIX_FMT_UYVY422, MKTAG('U', 'Y', 'V', 'Y') }, { PIX_FMT_UYVY422, MKTAG('H', 'D', 'Y', 'C') }, diff --git a/libavformat/riff.c b/libavformat/riff.c index 3c92a0c5ba..faaa194260 100644 --- a/libavformat/riff.c +++ b/libavformat/riff.c @@ -151,6 +151,7 @@ const AVCodecTag ff_codec_bmp_tags[] = { { CODEC_ID_RAWVIDEO, MKTAG('P', '4', '2', '2') }, { CODEC_ID_RAWVIDEO, MKTAG('Y', 'V', '1', '2') }, { CODEC_ID_RAWVIDEO, MKTAG('U', 'Y', 'V', 'Y') }, + { CODEC_ID_RAWVIDEO, MKTAG('V', 'Y', 'U', 'Y') }, { CODEC_ID_RAWVIDEO, MKTAG('I', 'Y', 'U', 'V') }, { CODEC_ID_RAWVIDEO, MKTAG('Y', '8', '0', '0') }, { CODEC_ID_RAWVIDEO, MKTAG('H', 'D', 'Y', 'C') },