[MPlayer-cvslog] r25052 - trunk/stream/stream_dvdnav.c
nicodvb
subversion at mplayerhq.hu
Wed Nov 14 23:25:10 CET 2007
Author: nicodvb
Date: Wed Nov 14 23:25:10 2007
New Revision: 25052
Log:
removed unneeded checks on MP_DVDNAV and DVDNAV_FORMAT_AC3 (we need and assume our fork)
Modified:
trunk/stream/stream_dvdnav.c
Modified: trunk/stream/stream_dvdnav.c
==============================================================================
--- trunk/stream/stream_dvdnav.c (original)
+++ trunk/stream/stream_dvdnav.c Wed Nov 14 23:25:10 2007
@@ -324,7 +324,6 @@ static int control(stream_t *stream, int
*((double *)arg) = !ar ? 4.0/3.0 : 16.0/9.0;
return 1;
}
-#ifdef MP_DVDNAV
case STREAM_CTRL_GET_CURRENT_TIME:
{
double tm;
@@ -343,7 +342,6 @@ static int control(stream_t *stream, int
return 1;
break;
}
-#endif
}
return STREAM_UNSUPPORTED;
@@ -498,7 +496,6 @@ int dvdnav_aid_from_lang(stream_t *strea
uint8_t format, lg;
uint16_t lang, lcode;;
-#ifdef DVDNAV_FORMAT_AC3
//this macro is defined only in libdvdnav-cvs
while(language && strlen(language)>=2) {
lcode = (language[0] << 8) | (language[1]);
@@ -525,7 +522,6 @@ int dvdnav_aid_from_lang(stream_t *strea
language += 2;
while(language[0]==',' || language[0]==' ') ++language;
}
-#endif
return -1;
}
More information about the MPlayer-cvslog
mailing list