 				}
 			}
 
+			if(_enhancedSeekTarget == Number.MAX_VALUE)
+			{
+				CONFIG::LOGGING
+				{
+					logger.debug("Left over enhanced seek-to-end, aborting (_seekTarget=" + _seekTarget + ").");
+				}
+				_enhancedSeekTarget = NaN;
+				_seekTarget = NaN;
+			}
+
 			var realTimestamp:int = wrapTagTimestampToFLVTimestamp(tag.timestamp);
 			var currentTime:Number = realTimestamp / 1000.0;
 

			CONFIG::LOGGING
			{
				logger.debug("Saw tag @ " + realTimestamp + " timestamp=" + tag.timestamp + " currentTime=" + currentTime + " _seekTime=" + _seekTime + " _enhancedSeekTarget="+ _enhancedSeekTarget + " dataSize=" + tag.dataSize);
			}

			if (!isNaN(_enhancedSeekTarget))

		private function insertScriptDataTag(tag:FLVTagScriptDataObject, first:Boolean = false):void
		{
			if (!_insertScriptDataTags)
				_insertScriptDataTags = new Vector.<FLVTagScriptDataObject>();
			
			if (first)
				_insertScriptDataTags.unshift(tag);	
			else
				_insertScriptDataTags.push(tag);
		}
		
		/**
