summaryrefslogtreecommitdiff
path: root/plugins/ffmpeg/ffmpeg.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ffmpeg/ffmpeg.c')
-rw-r--r--plugins/ffmpeg/ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ffmpeg/ffmpeg.c b/plugins/ffmpeg/ffmpeg.c
index 0aa91527..ed690edf 100644
--- a/plugins/ffmpeg/ffmpeg.c
+++ b/plugins/ffmpeg/ffmpeg.c
@@ -500,7 +500,7 @@ ffmpeg_insert (DB_playItem_t *after, const char *fname) {
// external cuesheet
DB_playItem_t *cue = deadbeef->pl_insert_cue (after, it, totalsamples, samplerate);
if (cue) {
- deadbeef->pl_item_free (it);
+ deadbeef->pl_item_unref (it);
return cue;
}
// now the track is ready, insert into playlist