summaryrefslogtreecommitdiffstats
path: root/player/loadfile.c
diff options
context:
space:
mode:
authorllyyr <llyyr.public@gmail.com>2023-07-17 20:49:04 +0530
committersfan5 <sfan5@live.de>2023-07-17 18:02:07 +0200
commitfbd392bcbb2d8b17ccefa79446d275caa25762d8 (patch)
treef2c77a0fce15f8fca909366e9be522f9f53b5bed /player/loadfile.c
parent8a6cabce3583affb63940795cf30b0be51a7722d (diff)
downloadmpv-fbd392bcbb2d8b17ccefa79446d275caa25762d8.tar.bz2
mpv-fbd392bcbb2d8b17ccefa79446d275caa25762d8.tar.xz
loadfile: make get_audio_lang function static
This fixes a build warning about missing prototypes
Diffstat (limited to 'player/loadfile.c')
-rw-r--r--player/loadfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/loadfile.c b/player/loadfile.c
index a534ec6344..851413bb06 100644
--- a/player/loadfile.c
+++ b/player/loadfile.c
@@ -579,7 +579,7 @@ static char **process_langs(char **in)
return out;
}
-const char *get_audio_lang(struct MPContext *mpctx)
+static const char *get_audio_lang(struct MPContext *mpctx)
{
// If we have a single current audio track, this is simple.
if (mpctx->current_track[0][STREAM_AUDIO])