# HG changeset patch # User reimar # Date 1130661924 0 # Node ID debd99a161e028024857ae8a4bc9707c4143bbd8 # Parent 40cac2c3cc0e65714e7f91537394a1bda4ab6615 10l, uninit() was not used, fixes bug #401 Modified patch from T. Dekker (t dekker student utwente nl) diff -r 40cac2c3cc0e -r debd99a161e0 libmpcodecs/vf_screenshot.c --- a/libmpcodecs/vf_screenshot.c Sat Oct 29 23:45:48 2005 +0000 +++ b/libmpcodecs/vf_screenshot.c Sun Oct 30 08:45:24 2005 +0000 @@ -261,6 +261,7 @@ return 0; } +static void uninit(vf_instance_t *vf); // open conflicts with stdio.h at least under MinGW static int screenshot_open(vf_instance_t *vf, char* args) { @@ -271,6 +272,7 @@ vf->start_slice=start_slice; vf->draw_slice=draw_slice; vf->get_image=get_image; + vf->uninit=uninit; vf->priv=malloc(sizeof(struct vf_priv_s)); vf->priv->frameno=0; vf->priv->shot=0;