1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-06-25 14:23:15 +02:00

sws: do not reallocate scratch buffers for each slice

This commit is contained in:
Anton Khirnov
2021-05-19 14:45:34 +02:00
parent 2730639259
commit 0f8e0957d2
3 changed files with 27 additions and 8 deletions

View File

@ -2295,6 +2295,9 @@ void sws_freeContext(SwsContext *c)
av_freep(&c->gamma);
av_freep(&c->inv_gamma);
av_freep(&c->rgb0_scratch);
av_freep(&c->xyz_scratch);
ff_free_filters(c);
av_free(c);