[MPlayer-dev-eng] vo_pts ao_pts

Arpi arpi at thot.banki.hu
Sun Nov 18 02:35:57 CET 2001


Hi,

> static int play(void* data,int len,int flags)
> {
>     ioctl( fd_audio, EM8300_IOCTL_AUDIO_SETPTS, &ao_pts );
>     return write(fd_audio,data,len);
> }
> 
> write? yea, I'm quite sure this is no standard glibc funtion and it must be 
> magically resolved at linktime through some lib. Actually it seems to be C++ 
> lib function that returns an iostream.
man 2 write
it's standard kernel syscall.

> I'm quite sure the right thing(tm) is to replace write with standard libc 
> guntion fread (look at man 3 fread).
heh? fwrite maybe? but Holm did the right thing this time.


A'rpi / Astral & ESP-team

--
mailto:arpi at thot.banki.hu
http://esp-team.scene.hu



More information about the MPlayer-dev-eng mailing list