image_get_track_info(): Uninvert start and end.

This commit is contained in:
Miran Grča
2025-07-26 14:16:36 +02:00
committed by GitHub
parent 137e129702
commit 62ba66f4ea

View File

@@ -2281,8 +2281,8 @@ image_get_track_info(const void *local, const uint32_t track,
}
if (ct != NULL) {
const uint32_t pos = end ? ct->idx[1].start :
(ct->idx[1].start + ct->idx[1].length);
const uint32_t pos = end ? (ct->idx[1].start + ct->idx[1].length) :
ct->idx[1].start;
ti->number = ct->point;
ti->attr = ct->attr;