fixed: reset error state flag
authorspiff <spiff@xbmc.org>
Thu, 22 Mar 2012 18:53:20 +0000 (19:53 +0100)
committerspiff <spiff@xbmc.org>
Thu, 22 Mar 2012 18:53:20 +0000 (19:53 +0100)
since we continue no matter, we should avoid spamming
each line to the log after an error has been encountered

fixes part of #12567

xbmc/cores/dvdplayer/Edl.cpp

index 1e6ce3f..ae02e4f 100644 (file)
@@ -182,6 +182,8 @@ bool CEdl::ReadEdl(const CStdString& strMovie, const float fFramesPerSecond)
     if (bError)
       CLog::Log(LOGWARNING, "%s - Error on line %i in EDL file: %s", __FUNCTION__, iLine, edlFilename.c_str());
 
+    bError = false;
+
     iLine++;
 
     CStdStringArray strFields(2);