diff mbox

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

Message ID 1490744467-59943-1-git-send-email-rsbultje@gmail.com
State Accepted
Commit 9e2050b698b204bcc4af39e014b3e621294a114a
Headers show

Commit Message

Ronald S. Bultje March 28, 2017, 11:41 p.m. UTC
Fixes reported race conditions by tsan in fate-avio-direct.
---
 libavcodec/codec_desc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Paul B Mahol March 29, 2017, 9:15 p.m. UTC | #1
On 3/29/17, Ronald S. Bultje <rsbultje@gmail.com> wrote:
> 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
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>

ok
diff mbox

Patch

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,