diff mbox series

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

Message ID 20201201201949.18834-8-anton@khirnov.net
State Accepted
Commit 5471b8944c2bd1650fef3bc6647743972f0c5b14
Headers show
Series [FFmpeg-devel,1/9] img2dec: export avg_frame_rate | expand

Checks

Context Check Description
andriy/x86_make success Make finished
andriy/x86_make_fate success Make fate finished

Commit Message

Anton Khirnov Dec. 1, 2020, 8:19 p.m. UTC
Same flags as MJPEG, as it's essentially the same thing.
---
 libavcodec/codec_desc.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

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"),
     },
     {