[FFmpeg-devel] [PATCH] lavc/cfhd:3d transform decoding for both progressive and interlaced

James Almer jamrial at gmail.com
Sun Jul 5 06:57:02 EEST 2020


On 7/4/2020 2:28 PM, Kieran Kunhya wrote:
> $subj
> 
> I have done basic fuzzing on it with no crashes.
> Fixes this sample:
> http://samples.mplayerhq.hu/V-codecs/CFHD/MT_BeartoothHighway_1min_Cineform.avi
> 
> Kieran

[...]

> @@ -1064,6 +1446,6 @@ AVCodec ff_cfhd_decoder = {
>      .init             = cfhd_init,
>      .close            = cfhd_close,
>      .decode           = cfhd_decode,
> -    .capabilities     = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_FRAME_THREADS,
> -    .caps_internal    = FF_CODEC_CAP_INIT_THREADSAFE | FF_CODEC_CAP_INIT_CLEANUP,
> +    .capabilities     = AV_CODEC_CAP_DR1,
> +    .caps_internal    = FF_CODEC_CAP_INIT_CLEANUP,
>  };

Why do you remove the init_threadsafe flag? cfhd_init() is essentially
unchanged, and that flag is unrelated to frame threading.


More information about the ffmpeg-devel mailing list