aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2017-03-28 19:40:59 -0400
committerRonald S. Bultje <rsbultje@gmail.com>2017-03-31 08:26:23 -0400
commit9e2050b698b204bcc4af39e014b3e621294a114a (patch)
treeb54d07c3ceda42162664c118b71b50a7b5f9a0e5
parentf800d6508d7e8fbd8d9777b775d333a4f02112ef (diff)
downloadffmpeg-9e2050b698b204bcc4af39e014b3e621294a114a.tar.gz
codec_desc: mark fraps as an intra-only codec.
Fixes reported race conditions by tsan in fate-avio-direct.
-rw-r--r--libavcodec/codec_desc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/codec_desc.c b/libavcodec/codec_desc.c
index 4e98cf9549..9711019e9d 100644
--- a/libavcodec/codec_desc.c
+++ b/libavcodec/codec_desc.c
@@ -520,7 +520,7 @@ static const AVCodecDescriptor codec_descriptors[] = {
.type = AVMEDIA_TYPE_VIDEO,
.name = "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,