summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vf_vo.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmpcodecs/vf_vo.c')
-rw-r--r--libmpcodecs/vf_vo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libmpcodecs/vf_vo.c b/libmpcodecs/vf_vo.c
index 62fcc616bc..c27eb0ad67 100644
--- a/libmpcodecs/vf_vo.c
+++ b/libmpcodecs/vf_vo.c
@@ -193,8 +193,10 @@ static void draw_slice(struct vf_instance_s* vf,
static void uninit(struct vf_instance_s* vf)
{
if (vf->priv) {
+#ifdef USE_ASS
if (vf->priv->ass_priv)
ass_done(vf->priv->ass_priv);
+#endif
free(vf->priv);
}
}