owntone-server/src/transcode.h
2009-05-03 11:16:57 +02:00

22 lines
422 B
C

#ifndef __TRANSCODE_H__
#define __TRANSCODE_H__
#include "evhttp/evhttp.h"
struct transcode_ctx;
int
transcode(struct transcode_ctx *ctx, struct evbuffer *evbuf, int wanted);
struct transcode_ctx *
transcode_setup(struct media_file_info *mfi, size_t *est_size);
void
transcode_cleanup(struct transcode_ctx *ctx);
int
transcode_needed(struct evkeyvalq *headers, char *file_codectype);
#endif /* !__TRANSCODE_H__ */