Make the WAV header optional

This commit is contained in:
Julien BLACHE
2010-04-04 12:31:33 +02:00
parent e3fb8f00cf
commit 9fb7ec8e5c
3 changed files with 8 additions and 5 deletions

View File

@@ -396,7 +396,7 @@ httpd_stream_file(struct evhttp_request *req, int id)
stream_cb = stream_chunk_xcode_cb;
st->xcode = transcode_setup(mfi, &st->size);
st->xcode = transcode_setup(mfi, &st->size, 1);
if (!st->xcode)
{
DPRINTF(E_WARN, L_HTTPD, "Transcoding setup failed, aborting streaming\n");