Initialize handles_eof (oops).

This commit is contained in:
Alastair Houghton 2014-03-14 17:25:38 +00:00
parent 6840278b7d
commit 68fd58a7e2

View File

@ -94,6 +94,9 @@ PyImaging_DecoderNew(int contextsize)
/* Initialize the cleanup function pointer */
decoder->cleanup = NULL;
/* Most decoders don't want to handle EOF themselves */
decoder->handles_eof = 0;
return decoder;
}