summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ext/sndfile/gstsf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/sndfile/gstsf.c b/ext/sndfile/gstsf.c
index 4570c108..ae2cee11 100644
--- a/ext/sndfile/gstsf.c
+++ b/ext/sndfile/gstsf.c
@@ -701,7 +701,7 @@ gst_sf_loop (GstElement *element)
gst_element_error (GST_ELEMENT (this),
g_strdup_printf ("Opened file with sample rate %d, but could not set caps",
this->rate));
- gst_sf_close_file (this->file);
+ gst_sf_close_file (this);
return;
}
channel->caps_set = TRUE;