From 90cd5aa8c8950406b335dfb34c01b0fdae833da9 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 17 Jun 2014 23:05:50 +0200 Subject: vo: make draw_image and vo_queue_image transfer image ownership Basically a cosmetic change. This is probably more intuitive. --- player/video.c | 1 - 1 file changed, 1 deletion(-) (limited to 'player/video.c') diff --git a/player/video.c b/player/video.c index e0aeaadf9e..59484088d6 100644 --- a/player/video.c +++ b/player/video.c @@ -503,7 +503,6 @@ static int video_output_image(struct MPContext *mpctx, double endpts, struct mp_image *img = vf_read_output_frame(vf); if (img) { vo_queue_image(vo, img); - talloc_free(img); return 1; } -- cgit v1.2.3