Skip to content

Commit

Permalink
Restore MPEG video format registration
Browse files Browse the repository at this point in the history
  • Loading branch information
zerocrates committed Jun 28, 2022
1 parent ecf097c commit 3a476ff
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions coders/video.c
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,15 @@ ModuleExport size_t RegisterVIDEOImage(void)
entry->description=ConstantString("MPEG Video Stream");
entry->magick_module=ConstantString("VIDEO");
(void) RegisterMagickInfo(entry);
entry=SetMagickInfo("MPEG");
entry->decoder=(DecodeImageHandler *) ReadVIDEOImage;
entry->encoder=(EncodeImageHandler *) WriteVIDEOImage;
entry->magick=(IsImageFormatHandler *) IsVIDEO;
entry->blob_support=MagickFalse;
entry->seekable_stream=MagickTrue;
entry->description=ConstantString("MPEG Video Stream");
entry->magick_module=ConstantString("VIDEO");
(void) RegisterMagickInfo(entry);
entry=SetMagickInfo("MP4");
entry->decoder=(DecodeImageHandler *) ReadVIDEOImage;
entry->encoder=(EncodeImageHandler *) WriteVIDEOImage;
Expand Down

0 comments on commit 3a476ff

Please sign in to comment.