[MPlayer-dev-eng] Fwd: [PATCH] seeking in large files on SMB shares
Joey Parrish
joey at nicewarrior.org
Mon Sep 13 02:28:56 CEST 2004
On Sat, Sep 11, 2004 at 11:42:25PM +0200, Reimar Döffinger wrote:
> I was asked to forward this mail, so I do that now, although I think the
> patch itself is not correct.
> What I dislike about this patch is that it misuses fstat to try to
> detect if the file is seekable. In addition IMHO a file where
> lseek(f,0,SEEK_END) doesn't work effectively isn't seekable.
> Does anyone know why it doesn't work and provide a better patch?
I agree, this is a bad fix. But I often store my large files on another
machine and watch over samba.
IIUC, samba isn't able to declare a file to be >2GB. My large files all
ls -sh as some ridiculous number on the order of a few terabytes.
I don't have a better fix...
--Joey
--
"The tide is turning... the enemy is suffering terrible losses..."
--Gen. Custer
More information about the MPlayer-dev-eng
mailing list