replaced NAN with qSNaN for better compiler compatibility

This commit is contained in:
itsmattkc
2018-10-05 11:36:03 +10:00
parent 4b7e62ddb7
commit b749d3409b
3 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -212,7 +212,7 @@ double Clip::getMediaFrameRate() {
case MEDIA_TYPE_SEQUENCE: return static_cast<Sequence*>(media)->frame_rate;
}
if (sequence != NULL) return sequence->frame_rate;
return NAN;
return qSNaN();
}
int Clip::getWidth() {