codec_desc: set lossless attribute for SGI and DPX
authorPaul B Mahol <onemda@gmail.com>
Fri, 1 Mar 2013 15:22:02 +0000 (15:22 +0000)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Mon, 31 Mar 2014 23:13:17 +0000 (01:13 +0200)
libavcodec/codec_desc.c

index 7bcbbe0..f46e082 100644 (file)
@@ -1127,7 +1127,7 @@ static const AVCodecDescriptor codec_descriptors[] = {
         .type      = AVMEDIA_TYPE_VIDEO,
         .name      = "dpx",
         .long_name = NULL_IF_CONFIG_SMALL("DPX image"),
-        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
+        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
     },
     {
         .id        = AV_CODEC_ID_EXR,
@@ -1220,7 +1220,7 @@ static const AVCodecDescriptor codec_descriptors[] = {
         .type      = AVMEDIA_TYPE_VIDEO,
         .name      = "sgi",
         .long_name = NULL_IF_CONFIG_SMALL("SGI image"),
-        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
+        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
     },
     {
         .id        = AV_CODEC_ID_SP5X,