File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -476,7 +476,8 @@ static bool IMG_AnimationDecoderGetNextFrame_Internal(IMG_AnimationDecoder *deco
476
476
* pts = 0 ;
477
477
decoder -> ctx -> last_pts = 0 ;
478
478
} else {
479
- * pts = decoder -> ctx -> last_pts += iter -> duration * decoder -> timebase_denominator / (1000 * decoder -> timebase_numerator );
479
+ * pts = decoder -> ctx -> last_pts + iter -> duration * decoder -> timebase_denominator / (1000 * decoder -> timebase_numerator );
480
+ decoder -> ctx -> last_pts = * pts ;
480
481
}
481
482
482
483
dispose_method = iter -> dispose_method ;
Original file line number Diff line number Diff line change @@ -63,6 +63,8 @@ SDL3_image_0.0.0 {
63
63
IMG_SaveTGA_IO;
64
64
IMG_SaveGIF;
65
65
IMG_SaveGIF_IO;
66
+ IMG_SaveWEBP;
67
+ IMG_SaveWEBP_IO;
66
68
IMG_SaveBMP;
67
69
IMG_SaveBMP_IO;
68
70
IMG_Save;
You can’t perform that action at this time.
0 commit comments