[MPlayer-dev-eng] patch for font_load.c and AmigaOS

Andrea Palmatè andrea at amigasoft.net
Fri Aug 11 11:10:11 CEST 2006


Il giorno 11/ago/06, alle ore 10:39, mplayer-dev-eng- 
request at mplayerhq.hu ha scritto:

>  am positively perplexed how it can work without a path separator.
>
> Regards,
> R.
under amigaos the drives are not named like in unix world.

so we have DH0: DH1: TES:T: ANYTHINGYOUWANT:

but if you add a slash after ":" the os will not get it correctly.  
And with path sepratator define all systems could handle it  
correctly. this way to work is used in many cross platforms programs.
another example is avio.c in libavformat (lines 44-69)
Under amigaos ffmpeg could not handle destination files if i use:

ffmpeg -i file.in ram:file.out

because for avio.c if i use a ":" is a protocol.. i've made a clean  
patch (only internal atm) that after first protocol loop, if no  
protocol is found, assume that is a file and all works ok. on windows  
it works correctly because windows use only one letter for drives  
(and is checked in the code)

Andrea Palmatè
http://www.amigasoft.net




More information about the MPlayer-dev-eng mailing list