[vlc-commits] commit: Added missing picture_Release() in snapshot.c (Laurent Aimar )
git at videolan.org
git at videolan.org
Sun Jan 9 22:44:20 CET 2011
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sun Dec 12 17:24:32 2010 +0100| [f22ff68ee407903ab26c28865107e54b847edd9a] | committer: Laurent Aimar
Added missing picture_Release() in snapshot.c
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f22ff68ee407903ab26c28865107e54b847edd9a
---
modules/video_output/snapshot.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/modules/video_output/snapshot.c b/modules/video_output/snapshot.c
index bcaee3b..358a90f 100644
--- a/modules/video_output/snapshot.c
+++ b/modules/video_output/snapshot.c
@@ -316,6 +316,8 @@ static void Display(vout_display_t *vd, picture_t *picture, subpicture_t *subpic
sys->snapshot[index]->date = snapshot_GetMovietime(vd);
sys->index = (index + 1) % sys->count;
+
+ picture_Release(picture);
}
static int Control(vout_display_t *vd, int query, va_list args)
More information about the vlc-commits
mailing list