search for: file_private_t

Displaying 3 results from an estimated 3 matches for "file_private_t".

Did you mean: file_private
2004 Dec 20
2
ogg123 and Vorbis piped to stdin
...c-DIST Sun Aug 22 20:33:26 2004 +++ file_transport.c Mon Dec 20 12:38:51 2004 @@ -84,6 +84,11 @@ int items; long start; +/* XXX HACK special-case stdin */ + if (private->fp == stdin) + return 0; +/* XXX */ + /* Record where we are */ start = ftell(fp); @@ -118,6 +123,11 @@ file_private_t *private = source->private; FILE *fp = private->fp; +/* XXX HACK special-case stdin */ + if (private->fp == stdin) + return -1; +/* XXX */ + return fseek(fp, offset, whence); } @@ -134,6 +144,11 @@ { file_private_t *private = source->private; FILE *fp = private-&...
2004 May 23
4
Various Ogg Vorbis largefile notes and/or patches
Greetings one and all; I'm not subscribed to this list so I'm first sending this message to verify that mails from me make it through, and then later I'll send the juicy messages with patches. Also, the address I'm using is IPv6-only and doesn't often work, so drop me from any replies and I'll catch the archives, or drop only the hostname part to get an IPv4 address that
2002 Oct 05
2
ogg123 remote interface
...e ogg123.orig/file_transport.c ogg123/file_transport.c --- ogg123.orig/file_transport.c Sat Jan 26 12:06:37 2002 +++ ogg123/file_transport.c Sat Oct 5 13:48:31 2002 @@ -21,7 +21,7 @@ #include "transport.h" #include "i18n.h" - +#include "status.h" typedef struct file_private_t { FILE *fp; @@ -37,7 +37,7 @@ return 1; /* The file transport is tested last, so always try it */ } -data_source_t* file_open (char *source_string, ogg123_options_t *ogg123_opts) +data_source_t* file_open (char *source_string, ogg123_options_t *ogg123_opts, stat_format_t *stat_format) {...