summaryrefslogtreecommitdiffstats
path: root/libmpv/sdl/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmpv/sdl/main.c')
-rw-r--r--libmpv/sdl/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpv/sdl/main.c b/libmpv/sdl/main.c
index 0daa466..597d5f8 100644
--- a/libmpv/sdl/main.c
+++ b/libmpv/sdl/main.c
@@ -158,6 +158,6 @@ done:
// is still running, the video track will be deselected.
mpv_render_context_free(mpv_gl);
- mpv_terminate_destroy(mpv);
+ mpv_detach_destroy(mpv);
return 0;
}