# HG changeset patch # User reimar # Date 1130869338 0 # Node ID ea32158ad57b9f6f3c645c8bc5809e08933b1097 # Parent 22b27bd37eeb44e6bb174b07d703069497b90759 close stream_fd on uninit. Fixes bugzilla bug #400. Modified patch from T. Dekker {t dekker [at] student utwente nl}. diff -r 22b27bd37eeb -r ea32158ad57b libmpcodecs/vf_bmovl.c --- a/libmpcodecs/vf_bmovl.c Tue Nov 01 17:09:26 2005 +0000 +++ b/libmpcodecs/vf_bmovl.c Tue Nov 01 18:22:18 2005 +0000 @@ -155,6 +155,8 @@ free(vf->priv->bitmap.v); free(vf->priv->bitmap.a); free(vf->priv->bitmap.oa); + if (vf->priv->stream_fd >= 0) + close(vf->priv->stream_fd); free(vf->priv); } }