summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 134e9ad..ba6e7b3 100644
--- a/src/main.c
+++ b/src/main.c
@@ -66,12 +66,12 @@ void dumpBuffer (char *buf, size_t len) {
}
/* FIXME: this is a huge block of _bad_ and buggy code */
-int playCurlCb (void *ptr, size_t size, size_t nmemb, void *stream) {
+size_t playCurlCb (void *ptr, size_t size, size_t nmemb, void *stream) {
char *data = ptr;
struct aacPlayer *player = stream;
if (player->doQuit) {
- return -1;
+ return 0;
}
if (player->dataMode == 1) {