From fca608ccb95e4167e1885483dfd30ba71007cbb4 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 7 Jun 2014 20:25:48 +0200 Subject: client API: rename mpv_destroy() to mpv_detach_destroy() A bit verbose, but less misleading. In most cases, the API user probably actually wants mpv_terminate_destroy() instead, so the less-useful function shouldn't have a simnpler name anyway. --- DOCS/client_api_examples/simple.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'DOCS/client_api_examples') diff --git a/DOCS/client_api_examples/simple.c b/DOCS/client_api_examples/simple.c index d2c95540fe..d3a4c78c26 100644 --- a/DOCS/client_api_examples/simple.c +++ b/DOCS/client_api_examples/simple.c @@ -39,6 +39,6 @@ int main(int argc, char *argv[]) break; } - mpv_destroy(ctx); + mpv_terminate_destroy(ctx); return 0; } -- cgit v1.2.3