summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--p2pvr/p2comp/recordingStream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/p2pvr/p2comp/recordingStream.cpp b/p2pvr/p2comp/recordingStream.cpp
index fc1687a..56f3e69 100644
--- a/p2pvr/p2comp/recordingStream.cpp
+++ b/p2pvr/p2comp/recordingStream.cpp
@@ -26,7 +26,7 @@ class RecordingStream : public StreamBase {
try {
auto range = getRange(ec);
if (!range) {
- range = { std::string(), 0, (unsigned long long)(storage->FileSize(recording(ec)) - 1) };
+ range = RangeResponse({ std::string(), 0, (unsigned long long)(storage->FileSize(recording(ec)) - 1) });
}
storage->Send(recording(ec), output, range->Start, range->End - range->Start + 1);
}