Commit f22ff68e authored by Laurent Aimar's avatar Laurent Aimar

Added missing picture_Release() in snapshot.c

parent b6cb1510
...@@ -316,6 +316,8 @@ static void Display(vout_display_t *vd, picture_t *picture, subpicture_t *subpic ...@@ -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->snapshot[index]->date = snapshot_GetMovietime(vd);
sys->index = (index + 1) % sys->count; sys->index = (index + 1) % sys->count;
picture_Release(picture);
} }
static int Control(vout_display_t *vd, int query, va_list args) static int Control(vout_display_t *vd, int query, va_list args)
......
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