Fixed segmentation fault in buffer process for fast reconnects of sources
This commit is contained in:
parent
5ffe12aba4
commit
2bdafc245d
1 changed files with 1 additions and 0 deletions
|
@ -627,6 +627,7 @@ namespace Mist {
|
||||||
//Store a reference for easier access
|
//Store a reference for easier access
|
||||||
std::map<unsigned long, DTSCPageData> & locations = bufferLocations[tNum];
|
std::map<unsigned long, DTSCPageData> & locations = bufferLocations[tNum];
|
||||||
char * mappedPointer = nProxy.metaPages[tNum].mapped;
|
char * mappedPointer = nProxy.metaPages[tNum].mapped;
|
||||||
|
if (!mappedPointer){return;}
|
||||||
|
|
||||||
//First detect all entries on metaPage
|
//First detect all entries on metaPage
|
||||||
for (int i = 0; i < 8192; i += 8) {
|
for (int i = 0; i < 8192; i += 8) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue