[FFmpeg-cvslog] avformat/riff: extend MagicYUV fourcc list

Paul B Mahol git at videolan.org
Sat Jan 7 18:27:27 EET 2017


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sat Jan  7 12:29:32 2017 +0100| [fd010406c03923065ff9b835472f3f174e1c722d] | committer: Paul B Mahol

avformat/riff: extend MagicYUV fourcc list

Newer version of encoder can create such files.

Signed-off-by: Paul B Mahol <onemda at gmail.com>

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

 libavformat/riff.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/libavformat/riff.c b/libavformat/riff.c
index e4e394d..cd2143c 100644
--- a/libavformat/riff.c
+++ b/libavformat/riff.c
@@ -428,6 +428,13 @@ const AVCodecTag ff_codec_bmp_tags[] = {
     { AV_CODEC_ID_M101,         MKTAG('M', '1', '0', '1') },
     { AV_CODEC_ID_M101,         MKTAG('M', '1', '0', '2') },
     { AV_CODEC_ID_MAGICYUV,     MKTAG('M', 'A', 'G', 'Y') },
+    { AV_CODEC_ID_MAGICYUV,     MKTAG('M', '8', 'R', 'G') },
+    { AV_CODEC_ID_MAGICYUV,     MKTAG('M', '8', 'R', 'A') },
+    { AV_CODEC_ID_MAGICYUV,     MKTAG('M', '8', 'G', '0') },
+    { AV_CODEC_ID_MAGICYUV,     MKTAG('M', '8', 'Y', '0') },
+    { AV_CODEC_ID_MAGICYUV,     MKTAG('M', '8', 'Y', '2') },
+    { AV_CODEC_ID_MAGICYUV,     MKTAG('M', '8', 'Y', '4') },
+    { AV_CODEC_ID_MAGICYUV,     MKTAG('M', '8', 'Y', 'A') },
     { AV_CODEC_ID_MAGICYUV,     MKTAG('M', '0', 'R', 'A') },
     { AV_CODEC_ID_MAGICYUV,     MKTAG('M', '0', 'R', 'G') },
     { AV_CODEC_ID_MAGICYUV,     MKTAG('M', '0', 'G', '0') },



More information about the ffmpeg-cvslog mailing list