198149 patch by gjuyn@3-t.com rs=tor (third party library, patch by author)
MNG that is set to loop indefinitely, stops working after first loop. git-svn-id: svn://10.0.0.236/trunk@139977 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
a5963c6df9
commit
06ca2f3329
5
mozilla/modules/libimg/mng/MOZCHANGES
Normal file
5
mozilla/modules/libimg/mng/MOZCHANGES
Normal file
@ -0,0 +1,5 @@
|
||||
|
||||
Changes made to pristine libmng source by mozilla.org developers.
|
||||
|
||||
2003/03/21 -- Patch for bug 198149:
|
||||
http://bugzilla.mozilla.org/attachment.cgi?id=117759&action=view
|
||||
@ -106,6 +106,8 @@
|
||||
/* * - fixed magnification bug with object 0 * */
|
||||
/* * 1.0.5 - 01/19/2003 - G.Juyn * */
|
||||
/* * - B664911 - fixed buffer overflow during init * */
|
||||
/* * 1.0.6 - 19/04/2003 - G.Juyn * */
|
||||
/* * - fixed problem with infinite loops during readdisplay() * */
|
||||
/* * * */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@ -2996,7 +2998,8 @@ mng_retcode mng_process_ani_endl (mng_datap pData,
|
||||
if ((pLOOP->iRunningcount) && (pLOOP->iRunningcount < 0x7fffffffL))
|
||||
pLOOP->iRunningcount--;
|
||||
|
||||
if ((pData->bReading) && (pLOOP->iRunningcount >= 0x7fffffffL))
|
||||
if ((!pData->bDisplaying) && (pData->bReading) &&
|
||||
(pLOOP->iRunningcount >= 0x7fffffffL))
|
||||
{
|
||||
pData->iTotalframes = 0x7fffffffL;
|
||||
pData->iTotallayers = 0x7fffffffL;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user