Fix crash if no tracks are created by readHeader
This commit is contained in:
parent
d9c7e0f3ca
commit
68b2da461a
1 changed files with 1 additions and 1 deletions
|
@ -513,7 +513,7 @@ namespace Mist{
|
|||
return 0;
|
||||
}
|
||||
timer = Util::bootMS() - timer;
|
||||
INFO_MSG("Read header in %" PRIu64 "ms (%zu tracks)", timer, M.trackCount());
|
||||
INFO_MSG("Read header in %" PRIu64 "ms (%zu tracks)", timer, M?M.trackCount():(size_t)0);
|
||||
}
|
||||
if (config->getBool("headeronly")){return 0;}
|
||||
if (M && M.getVod()){
|
||||
|
|
Loading…
Add table
Reference in a new issue