Skip to content

Commit

Permalink
loadfile: make get_audio_lang function static
Browse files Browse the repository at this point in the history
This fixes a build warning about missing prototypes
  • Loading branch information
llyyr authored and sfan5 committed Jul 17, 2023
1 parent 8a6cabc commit fbd392b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion player/loadfile.c
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit fbd392b

Please sign in to comment.