summaryrefslogtreecommitdiff
path: root/libavcodec/codec_desc.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2020-12-01 18:55:22 +0100
committerAnton Khirnov <anton@khirnov.net>2020-12-10 09:45:04 +0100
commit5471b8944c2bd1650fef3bc6647743972f0c5b14 (patch)
tree8f0fa85f2a5726a128e2206c7a3cee51b339dbcd /libavcodec/codec_desc.c
parent63c2e500d23a9348de19a402b8e256d8ec56c5bc (diff)
downloadffmpeg-5471b8944c2bd1650fef3bc6647743972f0c5b14.tar.gz
codec_desc: add SMVJPEG flags
Same flags as MJPEG, as it's essentially the same codec.
Diffstat (limited to 'libavcodec/codec_desc.c')
-rw-r--r--libavcodec/codec_desc.c1
1 files changed, 1 insertions, 0 deletions
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"),
},
{