diff command.c @ 26986:4bee4b9ec054

Rename some functions as they are mplayer related and not from libdvdnav public API.
author ben
date Sat, 07 Jun 2008 12:57:23 +0000
parents 4ab1cfcee430
children d7e0e33c546f
line wrap: on
line diff
--- a/command.c	Sat Jun 07 12:42:40 2008 +0000
+++ b/command.c	Sat Jun 07 12:57:23 2008 +0000
@@ -826,7 +826,7 @@
 
 #ifdef USE_DVDNAV
 	    else if (mpctx->stream->type == STREAMTYPE_DVDNAV)
-		dvdnav_lang_from_aid(mpctx->stream, audio_id, lang);
+		mp_dvdnav_lang_from_aid(mpctx->stream, audio_id, lang);
 #endif
 	    *(char **) arg = malloc(64);
 	    snprintf(*(char **) arg, 64, "(%d) %s", audio_id, lang);
@@ -1342,7 +1342,7 @@
 	if (mpctx->stream->type == STREAMTYPE_DVDNAV) {
 	    if (vo_spudec && dvdsub_id >= 0) {
 		unsigned char lang[3];
-		if (dvdnav_lang_from_sid(mpctx->stream, dvdsub_id, lang)) {
+		if (mp_dvdnav_lang_from_sid(mpctx->stream, dvdsub_id, lang)) {
 		    snprintf(*(char **) arg, 63, "(%d) %s", dvdsub_id, lang);
 		    return M_PROPERTY_OK;
 		}