summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2018-04-20 19:29:07 +0200
committerwm4 <wm4@nowhere>2019-09-13 13:54:45 +0200
commit172f032ed28fa0a81856ab1682c7d514a3975da1 (patch)
treeb4b992767fdbb324e424ef8f8b5f9e02e926108f
parentb8b71201636430ecc375149d58164ed1987e30d5 (diff)
downloadmpv-examples-172f032ed28fa0a81856ab1682c7d514a3975da1.tar.bz2
mpv-examples-172f032ed28fa0a81856ab1682c7d514a3975da1.tar.xz
sdl: replace deprecated API call
-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;
}