[FFmpeg-cvslog] codec_desc: add SMVJPEG flags

Anton Khirnov git at videolan.org
Thu Dec 10 11:11:30 EET 2020


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Tue Dec  1 18:55:22 2020 +0100| [5471b8944c2bd1650fef3bc6647743972f0c5b14] | committer: Anton Khirnov

codec_desc: add SMVJPEG flags

Same flags as MJPEG, as it's essentially the same codec.

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

 libavcodec/codec_desc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/codec_desc.c b/libavcodec/codec_desc.c
index 40a5a9a9e5..404c460f8f 100644
--- a/libavcodec/codec_desc.c
+++ b/libavcodec/codec_desc.c
@@ -1519,6 +1519,7 @@ static const AVCodecDescriptor codec_descriptors[] = {
         .id        = AV_CODEC_ID_SMVJPEG,
         .type      = AVMEDIA_TYPE_VIDEO,
         .name      = "smvjpeg",
+        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
         .long_name = NULL_IF_CONFIG_SMALL("Sigmatel Motion Video"),
     },
     {



More information about the ffmpeg-cvslog mailing list