am b0ef7745: Fix build breakage caused by updating giflib
* commit 'b0ef77450df6480941fd6c737c34a44ea29b1f21': Fix build breakage caused by updating giflib
This commit is contained in:
@@ -498,11 +498,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