mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 01:46:18 +03:00
Initialize handles_eof (oops).
This commit is contained in:
parent
6840278b7d
commit
68fd58a7e2
3
decode.c
3
decode.c
|
@ -94,6 +94,9 @@ PyImaging_DecoderNew(int contextsize)
|
||||||
/* Initialize the cleanup function pointer */
|
/* Initialize the cleanup function pointer */
|
||||||
decoder->cleanup = NULL;
|
decoder->cleanup = NULL;
|
||||||
|
|
||||||
|
/* Most decoders don't want to handle EOF themselves */
|
||||||
|
decoder->handles_eof = 0;
|
||||||
|
|
||||||
return decoder;
|
return decoder;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user