зеркало из https://github.com/mozilla/gecko-dev.git
Bug 386268, Animated GIF doesn't loop properly, Patch by Alfred Kayser, r=pavlov, sr=tor, a=blocking1.9
This commit is contained in:
Родитель
5446864a1d
Коммит
ac69d81210
|
@ -1121,11 +1121,11 @@ nsresult nsGIFDecoder2::GifWrite(const PRUint8 *buf, PRUint32 len)
|
||||||
if (!mGIFStruct.rows_remaining) {
|
if (!mGIFStruct.rows_remaining) {
|
||||||
#ifdef DONT_TOLERATE_BROKEN_GIFS
|
#ifdef DONT_TOLERATE_BROKEN_GIFS
|
||||||
mGIFStruct.state = gif_error;
|
mGIFStruct.state = gif_error;
|
||||||
|
break;
|
||||||
#else
|
#else
|
||||||
/* This is an illegal GIF, but we remain tolerant. */
|
/* This is an illegal GIF, but we remain tolerant. */
|
||||||
GETN(1, gif_sub_block);
|
GETN(1, gif_sub_block);
|
||||||
#endif
|
#endif
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
GETN(mGIFStruct.count, gif_lzw);
|
GETN(mGIFStruct.count, gif_lzw);
|
||||||
} else {
|
} else {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче