aboutsummaryrefslogtreecommitdiffstats
path: root/libavresample/internal.h
diff options
context:
space:
mode:
authorKimapr <root@kimapr.net>2025-07-28 06:32:27 +0500
committerKacper Michajłow <kasper93@gmail.com>2025-08-04 19:51:59 +0000
commitecef5f9e1fb70b38f3e325c8e613349344c97de4 (patch)
tree567df9996d550d529b6d6cca88be8789e055fea2 /libavresample/internal.h
parent09828e7fe214a28cacfb805605bd5b19041d1f68 (diff)
downloadffmpeg-master.tar.gz
avformat/libopenmpt: fix seeking weirdnessHEADmaster
- proper pts for packets. leaving it blank leaves it up for guessing, but the guess doesn't take seeking into account, causing weirdness. - clamp to 0 when seeking to negative ts. libopenmpt docs are unclear on this but not doing this causes an immediate EOF when seeking backwards to the beginning in mpv. - only set song duration and packet pts when they are non-negative and in int64 range. NaNs count as out of range. this isn't a fix for any specific issue but might be helpful still, and shouldn't break anything.
Diffstat (limited to 'libavresample/internal.h')
0 files changed, 0 insertions, 0 deletions