mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-25 20:49:49 +08:00
vf: Free MP_IMGTYPE_NUMBERED buffers too
When this newest type of buffers was added, needed code to free objects of this type when closing the filter had been omitted.
This commit is contained in:
@@ -749,6 +749,8 @@ void vf_uninit_filter(vf_instance_t* vf){
|
||||
free_mp_image(vf->imgctx.static_images[1]);
|
||||
free_mp_image(vf->imgctx.temp_images[0]);
|
||||
free_mp_image(vf->imgctx.export_images[0]);
|
||||
for (int i = 0; i < NUM_NUMBERED_MPI; i++)
|
||||
free_mp_image(vf->imgctx.numbered_images[i]);
|
||||
free(vf);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user