[MPlayer-dev-eng] [PATCH] UDFFindFile linking problem on darwin
Nico Sabbi
nicola_sabbi at fastwebnet.it
Sun Dec 24 00:14:45 CET 2006
Klaus Müller wrote:
> Hi,
>
> Afaik, UDFFindFile is not part of dvdread's API so it should not be used here.
>
> Attached patch replaces UDFFindFile by DVDOpenFile to do the same thing:
> Checking for a proper Video-DVD inside the requested drive.
>
> mk
>
>
>
>
>
>
> ------------------------------------------------------------------------
>
> Index: stream/stream_dvd.c
> ===================================================================
> --- stream/stream_dvd.c (revision 21745)
> +++ stream/stream_dvd.c (working copy)
> @@ -802,18 +802,19 @@
> mp_msg(MSGT_OPEN,MSGL_ERR,MSGTR_CantOpenDVD,temp_device);
> } else {
> #if DVDREAD_VERSION <= LIBDVDREAD_VERSION(0,9,4)
> - int len;
> - if(!UDFFindFile(dvd,"/",&len)) {
> + dvd_file_t *dvdfile = DVDOpenFile(dvd,0,DVD_READ_INFO_FILE);
committed, with the exception of
DVDOpenFile(dvd,dvd_title,DVD_READ_INFO_FILE);
instead of your line.
Thanks
--
"Without a frontend, mplayer is useless" - someone in mplayer-users
More information about the MPlayer-dev-eng
mailing list