From: Dirk Lemstra Date: Sat, 23 Mar 2019 07:18:16 +0000 (+0100) Subject: Added FLV as an alias for the MPEG coder. X-Git-Tag: 7.0.8-35~15 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=010d468f9ffdd7852030a3e064e3de95e2f4f4fc;p=imagemagick Added FLV as an alias for the MPEG coder. --- diff --git a/coders/mpeg.c b/coders/mpeg.c index e2be04cf6..4ae7e96d3 100644 --- a/coders/mpeg.c +++ b/coders/mpeg.c @@ -268,6 +268,12 @@ ModuleExport size_t RegisterMPEGImage(void) entry->magick=(IsImageFormatHandler *) IsAVI; entry->flags^=CoderBlobSupportFlag; (void) RegisterMagickInfo(entry); + entry=AcquireMagickInfo("MPEG","FLV","Flash Video Stream"); + entry->decoder=(DecodeImageHandler *) ReadMPEGImage; + entry->encoder=(EncodeImageHandler *) WriteMPEGImage; + entry->magick=(IsImageFormatHandler *) IsMPEG; + entry->flags^=CoderBlobSupportFlag; + (void) RegisterMagickInfo(entry); entry=AcquireMagickInfo("MPEG","MKV","Multimedia Container"); entry->decoder=(DecodeImageHandler *) ReadMPEGImage; entry->encoder=(EncodeImageHandler *) WriteMPEGImage; diff --git a/coders/mpeg.h b/coders/mpeg.h index 9013bcbce..1783e1d0c 100644 --- a/coders/mpeg.h +++ b/coders/mpeg.h @@ -24,6 +24,7 @@ MagickCoderAlias("MPEG", "3GP") \ MagickCoderAlias("MPEG", "3G2") \ MagickCoderAlias("MPEG", "AVI") \ + MagickCoderAlias("MPEG", "FLV") \ MagickCoderAlias("MPEG", "MKV") \ MagickCoderAlias("MPEG", "MOV") \ MagickCoderAlias("MPEG", "MPG") \