aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastien Bechet <s.bechet@av7.net>2003-03-26 23:25:18 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-03-26 23:25:18 +0000
commite8b478c1314d38006e65c2fe1f84e3c064981b9d (patch)
tree8b929307aa27b89908329ffe6dbd181317a359e3
parent8d170f0efad1df6e713673b3b0896998678e424a (diff)
downloadffmpeg-e8b478c1314d38006e65c2fe1f84e3c064981b9d.tar.gz
I420 patch by (Sebastien Bechet <s dot bechet at av7 dot net>)
Originally committed as revision 1710 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/raw.c1
-rw-r--r--libavformat/avienc.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/raw.c b/libavcodec/raw.c
index 3befbfc39b..fd70cc9782 100644
--- a/libavcodec/raw.c
+++ b/libavcodec/raw.c
@@ -32,6 +32,7 @@ typedef struct PixleFormatTag {
const PixelFormatTag pixelFormatTags[] = {
{ PIX_FMT_YUV422, MKTAG('Y', '4', '2', '2') },
+ { PIX_FMT_YUV420P, MKTAG('I', '4', '2', '0') },
{ -1, 0 },
};
diff --git a/libavformat/avienc.c b/libavformat/avienc.c
index e38b94af0b..4911094759 100644
--- a/libavformat/avienc.c
+++ b/libavformat/avienc.c
@@ -139,6 +139,7 @@ const CodecTag codec_bmp_tags[] = {
{ CODEC_ID_CYUV, MKTAG('C', 'Y', 'U', 'V') },
{ CODEC_ID_CYUV, MKTAG('c', 'y', 'u', 'v') },
{ CODEC_ID_RAWVIDEO, MKTAG('Y', '4', '2', '2') },
+ { CODEC_ID_RAWVIDEO, MKTAG('I', '4', '2', '0') },
{ 0, 0 },
};