1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-26 00:42:57 +00:00

big 10L of r9888 located: passed fd instead of pointer to sun_vcd_read

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23939 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2007-07-30 15:47:17 +00:00
parent aac28cfe4c
commit 0ce80b61cb

View File

@ -127,7 +127,7 @@ static int vcd_read(mp_vcd_priv_t* vcd,char *mem){
#elif defined(sun)
{
int offset;
if (sun_vcd_read(vcd->fd, &offset) <= 0) return 0;
if (sun_vcd_read(vcd, &offset) <= 0) return 0;
memcpy(mem,&vcd->buf[offset],VCD_SECTOR_DATA);
}
#endif