Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorami_stuff <ami_stuff@o2.pl>2011-06-27 12:03:21 +0400
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2011-06-27 12:03:21 +0400
commit9df1d329a5ac718dd9459ed37acdbbc88adc31e3 (patch)
treee1ae41a74e4c1829f4c3805e6ce8a053fb9d4ff2
parent90d475a9e7ecc03f9b3067a90225a9438ac84b9f (diff)
Support fourcc Y8 (ticket 308).
-rw-r--r--libavcodec/raw.c1
-rw-r--r--libavformat/riff.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/raw.c b/libavcodec/raw.c
index c44220ee4d..d6867186ad 100644
--- a/libavcodec/raw.c
+++ b/libavcodec/raw.c
@@ -46,6 +46,7 @@ const PixelFormatTag ff_raw_pix_fmt_tags[] = {
{ PIX_FMT_YUVJ422P, MKTAG('P', '4', '2', '2') },
{ PIX_FMT_GRAY8, MKTAG('Y', '8', '0', '0') },
{ PIX_FMT_GRAY8, MKTAG(' ', ' ', 'Y', '8') },
+ { PIX_FMT_GRAY8, MKTAG('Y', '8', ' ', ' ') },
{ PIX_FMT_YUYV422, MKTAG('Y', 'U', 'Y', '2') }, /* Packed formats */
{ PIX_FMT_YUYV422, MKTAG('Y', '4', '2', '2') },
diff --git a/libavformat/riff.c b/libavformat/riff.c
index 1213edd0ca..acac938187 100644
--- a/libavformat/riff.c
+++ b/libavformat/riff.c
@@ -175,6 +175,7 @@ const AVCodecTag ff_codec_bmp_tags[] = {
{ 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', ' ', ' ') },
{ CODEC_ID_RAWVIDEO, MKTAG('Y', '8', '0', '0') },
{ CODEC_ID_RAWVIDEO, MKTAG('H', 'D', 'Y', 'C') },
{ CODEC_ID_RAWVIDEO, MKTAG('Y', 'V', 'U', '9') },