mirror of
				https://github.com/webmproject/libwebp.git
				synced 2025-10-31 02:15:42 +01:00 
			
		
		
		
	Merge "always call WebPInitSamplers(), don't try to be smart"
This commit is contained in:
		| @@ -536,6 +536,7 @@ static int CustomSetup(VP8Io* io) { | ||||
|     } | ||||
|   } else { | ||||
|     if (is_rgb) { | ||||
|       WebPInitSamplers(); | ||||
|       p->emit = EmitSampledRGB;   // default | ||||
|       if (io->fancy_upsampling) { | ||||
| #ifdef FANCY_UPSAMPLING | ||||
| @@ -550,8 +551,6 @@ static int CustomSetup(VP8Io* io) { | ||||
|         p->emit = EmitFancyRGB; | ||||
|         WebPInitUpsamplers(); | ||||
| #endif | ||||
|       } else { | ||||
|         WebPInitSamplers(); | ||||
|       } | ||||
|     } else { | ||||
|       p->emit = EmitYUV; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user