mirror of
				https://github.com/webmproject/libwebp.git
				synced 2025-10-31 18:35:41 +01:00 
			
		
		
		
	Merge "idec: fix WebPIUpdate failure"
This commit is contained in:
		| @@ -312,12 +312,12 @@ static int CopyParts0Data(WebPIDecoder* idec) { | |||||||
|     } |     } | ||||||
|     memcpy(part0_buf, br->buf_, psize); |     memcpy(part0_buf, br->buf_, psize); | ||||||
|     mem->part0_buf_ = part0_buf; |     mem->part0_buf_ = part0_buf; | ||||||
|     mem->start_ += psize; |  | ||||||
|     br->buf_ = part0_buf; |     br->buf_ = part0_buf; | ||||||
|     br->buf_end_ = part0_buf + psize; |     br->buf_end_ = part0_buf + psize; | ||||||
|   } else { |   } else { | ||||||
|     // Else: just keep pointers to the partition #0's data in dec_->br_. |     // Else: just keep pointers to the partition #0's data in dec_->br_. | ||||||
|   } |   } | ||||||
|  |   mem->start_ += psize; | ||||||
|   return 1; |   return 1; | ||||||
| } | } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user