[FFmpeg-devel] [PATCH 8/9] codec_desc: add SMVJPEG flags

Anton Khirnov anton at khirnov.net
Tue Dec 1 22:19:48 EET 2020


Same flags as MJPEG, as it's essentially the same thing.
---
 libavcodec/codec_desc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/codec_desc.c b/libavcodec/codec_desc.c
index 3b148883b8..fc5a5be46e 100644
--- a/libavcodec/codec_desc.c
+++ b/libavcodec/codec_desc.c
@@ -1512,6 +1512,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"),
     },
     {
-- 
2.28.0



More information about the ffmpeg-devel mailing list