Bug 386268, Animated GIF doesn't loop properly, Patch by Alfred Kayser, r=pavlov, sr=tor, a=blocking1.9

This commit is contained in:
flamingice@sourmilk.net 2007-08-07 09:41:30 -07:00
Родитель 5446864a1d
Коммит ac69d81210
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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 {