#include "server.h"
#include "afs.h"
#include "error.h"
+#include "fd.h"
/** \cond some defines and structs which are only used in this file */
static int chunk_size;
static struct audio_format *af;
-static __must_check int para_fread(void *ptr, size_t size, size_t nmemb, FILE *stream)
-{
- size_t res = fread(ptr, size, nmemb, stream);
- if (res == nmemb)
- return size * nmemb;
- if (feof(stream))
- return 0;
- return -E_FREAD;
-}
-
static int header_frequency(struct mp3header *h)
{
if (h->version > 2 || h->freq > 3)