source: trunk/src/3rdparty/patches/libmng-1.0.10-endless-loop.patch@ 858

Last change on this file since 858 was 2, checked in by Dmitry A. Kuminov, 16 years ago

Initially imported qt-all-opensource-src-4.5.1 from Trolltech.

File size: 2.1 KB
  • libmng_data.h

    old new  
    658658           mng_int32         iFrameclipb;
    659659
    660660           mng_uint32        iNextdelay;         /* delay *after* next image */
     661
     662
     663
    661664#endif
    662665
    663666#ifndef MNG_SKIPCHUNK_SHOW
  • libmng_display.c

    old new  
    384384
    385385  {
    386386#ifndef MNG_SKIPCHUNK_FRAM
    387     if (pData->iFramedelay > 0)        /* real delay ? */
     387    if (pData->iFramedelay > 0 /* real delay ? */
    388388    {                                  /* let the app refresh first ? */
     389
    389390      if ((pData->bRunning) && (!pData->bSkipping) &&
    390391          (pData->iUpdatetop < pData->iUpdatebottom) && (pData->iUpdateleft < pData->iUpdateright))
    391392        if (!pData->fRefresh (((mng_handle)pData),
     
    455456      pData->iFrametime = pData->iFrametime + iWaitfor;
    456457                                       /* setup for next delay */
    457458    pData->iFramedelay = pData->iNextdelay;
     459
    458460#endif
    459461  }
    460462
     
    33403342  MNG_TRACE (pData, MNG_FN_PROCESS_DISPLAY_MEND, MNG_LC_START);
    33413343#endif
    33423344
     3345
     3346
     3347
    33433348#ifdef MNG_SUPPORT_DYNAMICMNG
    33443349  if (pData->bStopafterseek)           /* need to stop after this ? */
    33453350  {
  • libmng_hlapi.c

    old new  
    446446  pData->iFrameclipb           = 0;
    447447
    448448  pData->iNextdelay            = 1;
     449
     450
     451
    449452#endif
    450453
    451454#ifndef MNG_SKIPCHUNK_SHOW
     
    17371740  pData->iFrameclipb           = 0;
    17381741
    17391742  pData->iNextdelay            = 1;
     1743
     1744
     1745
    17401746#endif
    17411747
    17421748#ifndef MNG_SKIPCHUNK_SHOW
Note: See TracBrowser for help on using the repository browser.