ff-save: free sws context when done

parent e32961aa
...@@ -710,6 +710,7 @@ write_video_frame (GeglProperties *o, ...@@ -710,6 +710,7 @@ write_video_frame (GeglProperties *o,
p->picture->format = c->pix_fmt; p->picture->format = c->pix_fmt;
p->picture->width = c->width; p->picture->width = c->width;
p->picture->height = c->height; p->picture->height = c->height;
sws_freeContext (img_convert_ctx);
} }
} }
else else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment