]> git.sesse.net Git - ffmpeg/commitdiff
codec_desc: add SMVJPEG flags
authorAnton Khirnov <anton@khirnov.net>
Tue, 1 Dec 2020 17:55:22 +0000 (18:55 +0100)
committerAnton Khirnov <anton@khirnov.net>
Thu, 10 Dec 2020 08:45:04 +0000 (09:45 +0100)
Same flags as MJPEG, as it's essentially the same codec.

libavcodec/codec_desc.c

index 40a5a9a9e573173b40a84b1ad296d359f009d1d8..404c460f8fcae57022c842cbdf707482772ccbe8 100644 (file)
@@ -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"),
     },
     {