rtsp: fix SIGSEGV

This commit is contained in:
Kamil Trzcinski 2023-03-02 00:56:11 +01:00
parent 65e3b17397
commit abacfe89ea

View File

@ -92,8 +92,9 @@ public:
memcpy(fTo, buf->start, fFrameSize);
// Tell our client that we have new data:
afterGetting(this); // we're preceded by a net read; no infinite recursion
// Tell our client that we have new data
nextTask() = envir().taskScheduler().scheduleDelayedTask(
0, (TaskFunc*)FramedSource::afterGetting, this);
}
Boolean fHaveStartedReading;