mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-06 01:07:36 +08:00
sws: do not reallocate scratch buffers for each slice
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user