mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-21 08:47:28 +01:00
Fix private_impl access for GIF num_loops
This commit is contained in:
1 parent
7d3662ee40
commit
d59eec7936
1 file changed
+2
-1
@@ -272,7 +272,8 @@ const char* play() {
|
|||||||
if (!seen_num_loops) {
|
if (!seen_num_loops) {
|
||||||
seen_num_loops = true;
|
seen_num_loops = true;
|
||||||
// TODO: provide API for getting num_loops.
|
// TODO: provide API for getting num_loops.
|
||||||
num_loops_remaining = dec.private_impl.f_num_loops;
|
num_loops_remaining =
|
||||||
|
dec.private_impl.f_seen_num_loops ? dec.private_impl.f_num_loops : 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool first_frame = true;
|
bool first_frame = true;
|
||||||
|
|||||||
Reference in new issue
Block a user