[FFmpeg-cvslog] riff: add YUYV FourCC (Drastic YUYV)

Piotr Bandurski git at videolan.org
Wed Jan 27 21:09:29 CET 2016


ffmpeg | branch: master | Piotr Bandurski <ami_stuff at o2.pl> | Wed Jan 20 11:56:29 2016 -0500| [7c4059ae1e965a44b6e3b8a77378084c6844a07d] | committer: Vittorio Giovara

riff: add YUYV FourCC (Drastic YUYV)

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7c4059ae1e965a44b6e3b8a77378084c6844a07d
---

 libavcodec/raw.c   |    1 +
 libavformat/riff.c |    1 +
 2 files changed, 2 insertions(+)

diff --git a/libavcodec/raw.c b/libavcodec/raw.c
index 541ef7a..67dff9b 100644
--- a/libavcodec/raw.c
+++ b/libavcodec/raw.c
@@ -53,6 +53,7 @@ const PixelFormatTag ff_raw_pix_fmt_tags[] = {
     { AV_PIX_FMT_YUYV422, MKTAG('V', '4', '2', '2') },
     { AV_PIX_FMT_YUYV422, MKTAG('V', 'Y', 'U', 'Y') },
     { AV_PIX_FMT_YUYV422, MKTAG('Y', 'U', 'N', 'V') },
+    { AV_PIX_FMT_YUYV422, MKTAG('Y', 'U', 'Y', 'V') },
     { AV_PIX_FMT_YVYU422, MKTAG('Y', 'V', 'Y', 'U') }, /* Philips */
     { AV_PIX_FMT_UYVY422, MKTAG('U', 'Y', 'V', 'Y') },
     { AV_PIX_FMT_UYVY422, MKTAG('H', 'D', 'Y', 'C') },
diff --git a/libavformat/riff.c b/libavformat/riff.c
index eb90d98..7ad8a4d 100644
--- a/libavformat/riff.c
+++ b/libavformat/riff.c
@@ -240,6 +240,7 @@ const AVCodecTag ff_codec_bmp_tags[] = {
     { AV_CODEC_ID_RAWVIDEO,     MKTAG('Y', 'V', 'U', '9') },
     { AV_CODEC_ID_RAWVIDEO,     MKTAG('a', 'u', 'v', '2') },
     { AV_CODEC_ID_RAWVIDEO,     MKTAG('Y', 'V', 'Y', 'U') },
+    { AV_CODEC_ID_RAWVIDEO,     MKTAG('Y', 'U', 'Y', 'V') },
     { AV_CODEC_ID_FRWU,         MKTAG('F', 'R', 'W', 'U') },
     { AV_CODEC_ID_R10K,         MKTAG('R', '1', '0', 'k') },
     { AV_CODEC_ID_R210,         MKTAG('r', '2', '1', '0') },



More information about the ffmpeg-cvslog mailing list