Update callers *GifCloseFile for new GIFLIB DO NOT MERGE am: 60519c717e
am: 0cf3a7d3ec
Change-Id: I17c2d833878a9e60efc9b65eb5c8d91299d5ea42
This commit is contained in:
@@ -508,11 +508,11 @@ ColorARGB GifTranscoder::gifColorToColorARGB(const GifColorType& color) {
|
|||||||
|
|
||||||
GifFilesCloser::~GifFilesCloser() {
|
GifFilesCloser::~GifFilesCloser() {
|
||||||
if (mGifIn) {
|
if (mGifIn) {
|
||||||
DGifCloseFile(mGifIn);
|
DGifCloseFile(mGifIn, NULL);
|
||||||
mGifIn = NULL;
|
mGifIn = NULL;
|
||||||
}
|
}
|
||||||
if (mGifOut) {
|
if (mGifOut) {
|
||||||
EGifCloseFile(mGifOut);
|
EGifCloseFile(mGifOut, NULL);
|
||||||
mGifOut = NULL;
|
mGifOut = NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user