[FFmpeg-devel] [PATCH] codec_desc: mark fraps as an intra-only codec.
Ronald S. Bultje
rsbultje at gmail.com
Wed Mar 29 02:41:07 EEST 2017
Fixes reported race conditions by tsan in fate-avio-direct.
---
libavcodec/codec_desc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/codec_desc.c b/libavcodec/codec_desc.c
index 4e98cf9..9711019 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,
--
2.8.1
More information about the ffmpeg-devel
mailing list