mirror of
				https://github.com/webmproject/libwebp.git
				synced 2025-10-31 10:25:46 +01:00 
			
		
		
		
	add missing const in VP8InitFrame signature
Change-Id: Ibed259ac8e794bd98960f65ba6544d480e7a1806
This commit is contained in:
		| @@ -814,7 +814,7 @@ static void InitIo(VP8Decoder* const dec, VP8Io* io) { | ||||
|   io->a = NULL; | ||||
| } | ||||
|  | ||||
| int VP8InitFrame(VP8Decoder* const dec, VP8Io* io) { | ||||
| int VP8InitFrame(VP8Decoder* const dec, VP8Io* const io) { | ||||
|   if (!InitThreadContext(dec)) return 0;  // call first. Sets dec->num_caches_. | ||||
|   if (!AllocateMemory(dec)) return 0; | ||||
|   InitIo(dec, io); | ||||
|   | ||||
| @@ -280,7 +280,7 @@ int VP8ParseIntraModeRow(VP8BitReader* const br, VP8Decoder* const dec); | ||||
| void VP8ParseQuant(VP8Decoder* const dec); | ||||
|  | ||||
| // in frame.c | ||||
| int VP8InitFrame(VP8Decoder* const dec, VP8Io* io); | ||||
| int VP8InitFrame(VP8Decoder* const dec, VP8Io* const io); | ||||
| // Call io->setup() and finish setting up scan parameters. | ||||
| // After this call returns, one must always call VP8ExitCritical() with the | ||||
| // same parameters. Both functions should be used in pair. Returns VP8_STATUS_OK | ||||
|   | ||||
		Reference in New Issue
	
	Block a user