aboutsummaryrefslogtreecommitdiffstats
path: root/src/outputBuffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/outputBuffer.c')
-rw-r--r--src/outputBuffer.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/outputBuffer.c b/src/outputBuffer.c
index d0a98b692..660067c27 100644
--- a/src/outputBuffer.c
+++ b/src/outputBuffer.c
@@ -125,12 +125,12 @@ int sendDataToOutputBuffer(OutputBuffer * cb, InputStream * inStream,
return 0;
}
-void copyMpdTagToOutputBuffer(OutputBuffer * cb, MpdTag * tag) {
+int copyMpdTagToOutputBuffer(OutputBuffer * cb, MpdTag * tag) {
printf("copyMpdTagToOB called\n");
if(!cb->acceptMetadata || !tag) {
sendMetaChunk = 0;
- return;
+ return -1;
}
sendMetaChunk = 1;
@@ -140,4 +140,6 @@ void copyMpdTagToOutputBuffer(OutputBuffer * cb, MpdTag * tag) {
printMpdTag(stdout, tag);
copyMpdTagToMetadataChunk(tag, &(cb->metadataChunks[currentMetaChunk]));
+
+ return 0;
}