Fix warning about invalid index.
Fix warning about invalid index.


--- a/src/in_ncsf/SSEQPlayer/Player.cpp
+++ b/src/in_ncsf/SSEQPlayer/Player.cpp
@@ -105,14 +105,17 @@
 		int thisChnNo = chnArray[i];
 		if (!this->allowedChannels[thisChnNo])
 			continue;
-		Channel &thisChn = this->channels[thisChnNo];
-		Channel &curChn = this->channels[curChnNo];
-		if (curChnNo != -1 && thisChn.prio >= curChn.prio)
+		if (curChnNo != -1)
 		{
-			if (thisChn.prio != curChn.prio)
-				continue;
-			if (curChn.vol <= thisChn.vol)
-				continue;
+			Channel &thisChn = this->channels[thisChnNo];
+			Channel &curChn = this->channels[curChnNo];
+			if (curChnNo != -1 && thisChn.prio >= curChn.prio)
+			{
+				if (thisChn.prio != curChn.prio)
+					continue;
+				if (curChn.vol <= thisChn.vol)
+					continue;
+			}
 		}
 		curChnNo = thisChnNo;
 	}