Mercurial > mplayer.hg
view osdep/ftello.c @ 22514:ce431aaeab21
r22408: add -tv driver=help entry, also add dshow tv driver
r22409: 10l: dshow isnt in svn yet
r22453: add -xvfwopts compdata suboption to man page
r22461: -nomouseinput is no longer X11 only.
r22492: documented -reuse-socket
r22503: corrected description of -reuse-socket as described by Rich
r22508: Document lscale=2
r22512: wording/spelling for lscale=2 suboption
r22521: Clarify -reuse-socket description.
author | voroshil |
---|---|
date | Mon, 12 Mar 2007 18:05:39 +0000 |
parents | e268886eb13d |
children |
line wrap: on
line source
/* * ftello.c * 64-bit version of ftello() for systems which do not have it */ #include "config.h" #include <stdio.h> #include <sys/types.h> off_t ftello(FILE *stream) { fpos_t floc; if (fgetpos(stream, &floc) != 0) return -1; return floc; }