[FFmpeg-cvslog] codec_desc: mark fraps as an intra-only codec.

Ronald S. Bultje git at videolan.org
Fri Mar 31 15:26:47 EEST 2017


ffmpeg | branch: master | Ronald S. Bultje <rsbultje at gmail.com> | Tue Mar 28 19:40:59 2017 -0400| [9e2050b698b204bcc4af39e014b3e621294a114a] | committer: Ronald S. Bultje

codec_desc: mark fraps as an intra-only codec.

Fixes reported race conditions by tsan in fate-avio-direct.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9e2050b698b204bcc4af39e014b3e621294a114a
---

 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,



More information about the ffmpeg-cvslog mailing list