Mercurial > mplayer.hg
view osdep/ftello.c @ 21953:62bf4204eed4
in h264_parse_sps() reuse mp_unescape03()
author | nicodvb |
---|---|
date | Sat, 20 Jan 2007 13:46:17 +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; }