mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-04 01:47:47 +03:00 
			
		
		
		
	Corrected syntax
This commit is contained in:
		
							parent
							
								
									c93b23239d
								
							
						
					
					
						commit
						cb39b1c89e
					
				| 
						 | 
					@ -455,7 +455,7 @@ _anim_decoder_get_next(PyObject *self) {
 | 
				
			||||||
    WebPAnimDecoderObject *decp = (WebPAnimDecoderObject *)self;
 | 
					    WebPAnimDecoderObject *decp = (WebPAnimDecoderObject *)self;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    ImagingSectionEnter(&cookie);
 | 
					    ImagingSectionEnter(&cookie);
 | 
				
			||||||
    ok = WebPAnimDecoderGetNext(decp->dec, &buf, ×tamp)
 | 
					    ok = WebPAnimDecoderGetNext(decp->dec, &buf, ×tamp);
 | 
				
			||||||
    ImagingSectionLeave(&cookie);
 | 
					    ImagingSectionLeave(&cookie);
 | 
				
			||||||
    if (!ok) {
 | 
					    if (!ok) {
 | 
				
			||||||
        PyErr_SetString(PyExc_OSError, "failed to read next frame");
 | 
					        PyErr_SetString(PyExc_OSError, "failed to read next frame");
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user