codec_desc: mark fraps as an intra-only codec.

Fixes reported race conditions by tsan in fate-avio-direct.
This commit is contained in:
Ronald S. Bultje
2017-03-28 19:40:59 -04:00
parent f800d6508d
commit 9e2050b698

View File

@ -520,7 +520,7 @@ static const AVCodecDescriptor codec_descriptors[] = {
.type = AVMEDIA_TYPE_VIDEO, .type = AVMEDIA_TYPE_VIDEO,
.name = "fraps", .name = "fraps",
.long_name = NULL_IF_CONFIG_SMALL("Fraps"), .long_name = NULL_IF_CONFIG_SMALL("Fraps"),
.props = AV_CODEC_PROP_LOSSLESS, .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
}, },
{ {
.id = AV_CODEC_ID_TRUEMOTION2, .id = AV_CODEC_ID_TRUEMOTION2,