[vorbis-dev] Ports

Brian Havard brianh at kheldar.apana.org.au
Wed Dec 27 23:21:29 PST 2000

On Thu, 28 Dec 2000 16:01:28 +1100, Michael Smith wrote:

>>That should produce exactly the same thing as
>>echo -e "GET /file.ogg HTTP/1.0\r\nAccept: */*\r\nUser-Agent:
>ogg123\r\nHost: localhost(orwhatever)" | nc localhost(orwhatever) 80
>>with the headers (everything before the first \r\n\r\n) stripped.
>Indeed it should. Apparently, though, it isn't doing so. Hence my request
>for more information (remember, this is on OS/2, not unix).

I've tracked down the problem now. For some reason the 'seekable' test in
ov_open_callbacks() (the seek_func(f,0,SEEK_CUR)) screws up the stream. If
I take this out and force it to non-seekable it works just fine.

Another small item, I had to add "fflush(opt.instream);" in ogg123.c at
line 319 or the request didn't get sent and the 'Dump headers' code ended
up in an infinite loop as it doesn't check for EOF.

 |  Brian Havard                 |  "He is not the messiah!                   |
 |  brianh at kheldar.apana.org.au  |  He's a very naughty boy!" - Life of Brian |

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.

More information about the Vorbis-dev mailing list