Merge pull request #84 from sbarman/master
bug fix, pixBytes should be rowBytes
This commit is contained in:
		
						commit
						3faef37549
					
				
							
								
								
									
										2
									
								
								pdf.js
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								pdf.js
									
									
									
									
									
								
							| @ -708,7 +708,7 @@ var PredictorStream = (function() { | |||||||
|         var rawBytes = this.stream.getBytes(rowBytes); |         var rawBytes = this.stream.getBytes(rowBytes); | ||||||
| 
 | 
 | ||||||
|         var bufferLength = this.bufferLength; |         var bufferLength = this.bufferLength; | ||||||
|         var buffer = this.ensureBuffer(bufferLength + pixBytes); |         var buffer = this.ensureBuffer(bufferLength + rowBytes); | ||||||
| 
 | 
 | ||||||
|         var currentRow = buffer.subarray(bufferLength, bufferLength + rowBytes); |         var currentRow = buffer.subarray(bufferLength, bufferLength + rowBytes); | ||||||
|         var prevRow = buffer.subarray(bufferLength - rowBytes, bufferLength); |         var prevRow = buffer.subarray(bufferLength - rowBytes, bufferLength); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user