Commit 9e2050b6 authored by Ronald S. Bultje's avatar Ronald S. Bultje

codec_desc: mark fraps as an intra-only codec.

Fixes reported race conditions by tsan in fate-avio-direct.
parent f800d650
...@@ -520,7 +520,7 @@ static const AVCodecDescriptor codec_descriptors[] = { ...@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment