From a930fa704ea7ee5a57bfc6c390d02a0c245f1c62 Mon Sep 17 00:00:00 2001 From: NishiOwO Date: Thu, 30 Oct 2025 01:33:30 +0000 Subject: [PATCH] yeah git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@510 b9cfdab3-6d41-4d17-bbe4-086880011989 --- examples/mpegplayer/mpegplayer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/mpegplayer/mpegplayer.c b/examples/mpegplayer/mpegplayer.c index a9cf6d1..b34cedb 100644 --- a/examples/mpegplayer/mpegplayer.c +++ b/examples/mpegplayer/mpegplayer.c @@ -125,7 +125,7 @@ static void tick(MwWidget handle, void* user, void* call){ } frames[0].count++; if(f >= 1 && frames[0].count >= (int)f + (int)a){ - if(a > 1) a--; + if(a > 1) a -= (int)a; a += f - (int)f; free(frames[0].buffer); arrdel(frames, 0);