revised the patch, hopefully it's better now. i also fixed another weirdness that i didn't fix in the original patch On 2025/07/31 19:19, Michael Niedermayer wrote: > while your email contains quite some details, the commit message of > just "libopenmpt: fix seeking" is too terse added some details! > is there any possibility of a "unknown" "position" ? > if not its fine otherwise a check may be needed to handle that no idea. openmpt docs don't mention the possibility, and besides like returning a NaN there isn't really much the API can do to indicate such a condition > is it possible that this exceeds the int64_t range ? > if so these out of range values should probably be replaced by AV_NOPTS_VALUE seems unlikely! i added a check anyway though (should also catch the unknown position if it is indicated by a NaN). rather than replacing the value with AV_NOPTS_VALUE i just don't set it. Is that good?