Update callers *GifCloseFile for new GIFLIB DO NOT MERGE
am: 60519c717e
Change-Id: I6f3b4664585a35d3177aea9371e283d567044e6e
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