diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-12-16 23:29:59 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-12-16 23:29:59 +0000 |
commit | cbd3faad999bfc47dd9d987201ee44aaebc1f556 (patch) | |
tree | c24e7aaf5cf555257a1808439b3a36260d94a013 | |
parent | 4a99d7888bce0c546de70aad53265c4b2d14ca2d (diff) | |
download | xine-lib-cbd3faad999bfc47dd9d987201ee44aaebc1f556.tar.gz xine-lib-cbd3faad999bfc47dd9d987201ee44aaebc1f556.tar.bz2 |
https://sourceforge.net/tracker/index.php?func=detail&aid=652577&group_id=9655&atid=109655
CVS patchset: 3566
CVS date: 2002/12/16 23:29:59
-rw-r--r-- | src/input/pnm.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/input/pnm.c b/src/input/pnm.c index dff3650a3..d24008a4f 100644 --- a/src/input/pnm.c +++ b/src/input/pnm.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: pnm.c,v 1.4 2002/12/16 21:50:54 holstsn Exp $ + * $Id: pnm.c,v 1.5 2002/12/16 23:29:59 miguelfreitas Exp $ * * pnm protocol implementation * based upon code from joschka @@ -34,7 +34,8 @@ #include <fcntl.h> #include <errno.h> #include <stdlib.h> -#include <time.h> +#include <sys/time.h> +#include <sys/types.h> #include "pnm.h" #include "libreal/rmff.h" @@ -554,6 +555,8 @@ static int pnm_get_headers(pnm_t *p) { rmff_dump_header(h, p->header, HEADER_SIZE); */ p->header_len=size; + + return 1; } /* |