summaryrefslogtreecommitdiffstats
path: root/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'command.c')
-rw-r--r--command.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/command.c b/command.c
index d34c8db39e..b609371675 100644
--- a/command.c
+++ b/command.c
@@ -832,7 +832,7 @@ static int mp_property_audio(m_option_t *prop, int action, void *arg,
#ifdef USE_DVDNAV
else if (mpctx->stream->type == STREAMTYPE_DVDNAV)
- dvdnav_lang_from_aid(mpctx->stream, opts->audio_id, lang);
+ mp_dvdnav_lang_from_aid(mpctx->stream, opts->audio_id, lang);
#endif
*(char **) arg = malloc(64);
snprintf(*(char **) arg, 64, "(%d) %s", opts->audio_id, lang);
@@ -1351,8 +1351,8 @@ static int mp_property_sub(m_option_t *prop, int action, void *arg,
if (mpctx->stream->type == STREAMTYPE_DVDNAV) {
if (vo_spudec && opts->sub_id >= 0) {
unsigned char lang[3];
- if (dvdnav_lang_from_sid(mpctx->stream, opts->sub_id, lang)) {
- snprintf(*(char **) arg, 63, "(%d) %s", opts->sub_id, lang);
+ if (mp_dvdnav_lang_from_sid(mpctx->stream, opts->sub_id, lang)) {
+ snprintf(*(char **) arg, 63, "(%d) %s", opts->sub_id, lang);
return M_PROPERTY_OK;
}
}