mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
sws: do not reallocate scratch buffers for each slice
This commit is contained in:
parent
2730639259
commit
0f8e0957d2
3 changed files with 27 additions and 8 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue