]> git.sesse.net Git - vlc/blobdiff - modules/video_filter/audiobargraph_v.c
Add includes guards to cdrom.h
[vlc] / modules / video_filter / audiobargraph_v.c
index 8cb5565868e82cfa1aa1fb23c7b33bf1308780af..bde9b083dd4f392d57fb8b7e8b163a5c1e60c03f 100644 (file)
@@ -400,7 +400,7 @@ static subpicture_t *FilterSub(filter_t *p_filter, mtime_t date)
     p_region = subpicture_region_New(&fmt);
     if (!p_region) {
         msg_Err(p_filter, "cannot allocate SPU region");
-        filter_DeleteSubpicture(p_filter, p_spu);
+        subpicture_Delete(p_spu);
         p_spu = NULL;
         goto exit;
     }