bug#34801: put a frame notification back at end of frame decoding. r:rods, a:leaf.

This commit is contained in:
pnunn%netscape.com 2000-04-06 21:51:58 +00:00
Родитель 7532a2af4c
Коммит c633f66dcc
1 изменённых файлов: 6 добавлений и 7 удалений

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

@ -1241,9 +1241,6 @@ il_gif_write(il_container *ic, const PRUint8 *buf, int32 len)
{
PRUintn height, width;
if(gs->images_decoded > 0) //animated image
ic->imgdcb->ImgDCBHaveImageFrame();
/* Get image offsets, with respect to the screen origin */
gs->x_offset = GETINT16(q);
gs->y_offset = GETINT16(q + 2);
@ -1499,8 +1496,10 @@ il_gif_write(il_container *ic, const PRUint8 *buf, int32 len)
{
/* Flush the image data unconditionally, so that we can
notify observers that the current frame has completed. */
if(ic->imgdcb)
if(ic->imgdcb){
ic->imgdcb->ImgDCBFlushImage();
ic->imgdcb->ImgDCBHaveImageFrame();
}
gs->images_decoded++;