On Fri, Nov 27, 2020 at 6:47 PM Andreas Rheinhardt < [email protected]> wrote:
> A buffer may leak in case of YUVA444P10 with dimensions that are not > both divisible by 16. > > Signed-off-by: Andreas Rheinhardt <[email protected]> > --- > libavcodec/proresenc_anatoliy.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/libavcodec/proresenc_anatoliy.c > b/libavcodec/proresenc_anatoliy.c > index 8bc13fd576..85e8cb3aaa 100644 > --- a/libavcodec/proresenc_anatoliy.c > +++ b/libavcodec/proresenc_anatoliy.c > @@ -956,6 +956,7 @@ AVCodec ff_prores_aw_encoder = { > .capabilities = AV_CODEC_CAP_FRAME_THREADS, > .priv_class = &proresaw_enc_class, > .profiles = NULL_IF_CONFIG_SMALL(ff_prores_profiles), > + .caps_internal = FF_CODEC_CAP_INIT_CLEANUP, > }; > > AVCodec ff_prores_encoder = { > @@ -971,4 +972,5 @@ AVCodec ff_prores_encoder = { > .capabilities = AV_CODEC_CAP_FRAME_THREADS, > .priv_class = &prores_enc_class, > .profiles = NULL_IF_CONFIG_SMALL(ff_prores_profiles), > + .caps_internal = FF_CODEC_CAP_INIT_CLEANUP, > }; > -- > 2.25.1 > > Will apply. - Andreas _______________________________________________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
