mirror of
				https://github.com/webmproject/libwebp.git
				synced 2025-10-31 10:25:46 +01:00 
			
		
		
		
	decode.h,WebPIDecGetRGB: clarify output ptr validity
*last_y, *width, *height, *stride are only valid on non-NULL return Change-Id: Iee2eeb29dd36392e2e7876d47df182a81dbb41ce
This commit is contained in:
		| @@ -340,7 +340,8 @@ WEBP_EXTERN VP8StatusCode WebPIUpdate( | ||||
| // specified during call to WebPINewDecoder() or WebPINewRGB(). | ||||
| // *last_y is the index of last decoded row in raster scan order. Some pointers | ||||
| // (*last_y, *width etc.) can be NULL if corresponding information is not | ||||
| // needed. | ||||
| // needed. The values in these pointers are only valid on successful (non-NULL) | ||||
| // return. | ||||
| WEBP_EXTERN uint8_t* WebPIDecGetRGB( | ||||
|     const WebPIDecoder* idec, int* last_y, | ||||
|     int* width, int* height, int* stride); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user