mirror of
				https://github.com/webmproject/libwebp.git
				synced 2025-10-31 10:25:46 +01:00 
			
		
		
		
	WebpToSDL(): fix the return value in case of error
spotted Diego Casorran Change-Id: I48822ade22eb8fcef85043a84d712e892324476d
This commit is contained in:
		| @@ -40,7 +40,7 @@ int WebpToSDL(const char* data, unsigned int data_size) { | ||||
|  | ||||
|   if (!WebPInitDecoderConfig(&config)) { | ||||
|     fprintf(stderr, "Library version mismatch!\n"); | ||||
|     return 1; | ||||
|     return 0; | ||||
|   } | ||||
|  | ||||
|   if (!init_ok) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user