summaryrefslogtreecommitdiff
path: root/common.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common.cpp')
-rw-r--r--common.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/common.cpp b/common.cpp
index dcddfd9..8869265 100644
--- a/common.cpp
+++ b/common.cpp
@@ -55,6 +55,7 @@ bool cMarkAdCommon::AddMark(int Position, const char *Comment)
void cMarkAdCommon::SetTimerMarks(int LastIFrame)
{
if (!macontext) return;
+ if (!LastIFrame) return;
if ((time(NULL)>macontext->General.StartTime) && (!macontext->State.ContentStarted))
{