Update callers *GifCloseFile for new GIFLIB DO NOT MERGE
Bug:34697653 Test: build; existing CTS tests Original commit message: Fix build breakage caused by updating giflib Change-Id: I085379470620ec4db13f8baf7a9eb069747270b7
This commit is contained in:
committed by
Leon Scroggins III
parent
6f763fef7a
commit
60519c717e
@@ -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