Fixed horrible, horrible, horrible RTMP timestamp bug.
This commit is contained in:
		
							parent
							
								
									1f319cc782
								
							
						
					
					
						commit
						4dffb10eb9
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -460,10 +460,10 @@ bool RTMPStream::Chunk::Parse(Socket::Buffer & buffer) { | |||
|       return false; | ||||
|     } //can't read timestamp
 | ||||
|     indata = buffer.copy(i + 4); | ||||
|     timestamp += indata[i++ ]; | ||||
|     timestamp = indata[i++ ]; | ||||
|     timestamp += indata[i++ ] * 256; | ||||
|     timestamp += indata[i++ ] * 256 * 256; | ||||
|     timestamp = indata[i++ ] * 256 * 256 * 256; | ||||
|     timestamp += indata[i++ ] * 256 * 256 * 256; | ||||
|     ts_delta = timestamp; | ||||
|   } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Thulinma
						Thulinma