diff options
author | Anton Khirnov <anton@khirnov.net> | 2023-05-28 16:22:58 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2023-06-05 16:15:04 +0200 |
commit | ccf219e361957eef8fab45ce8b02cdf4d42e5e28 (patch) | |
tree | 046bc81e14869a524392bc7eecca2702b857e082 /libavcodec/vp9.c | |
parent | c7a05ac117bc4152b27aa6127d67cb5bc0f09271 (diff) | |
download | ffmpeg-ccf219e361957eef8fab45ce8b02cdf4d42e5e28.tar.gz |
fftools/ffmpeg_enc: avoid breaking exactly integer timestamps in vsync code
The code will currently add a small offset to avoid exact midpoints, but
this can cause inexact results when a float timestamp is exactly
representable as an integer.
Fixes off-by-one in the first frame duration in multiple FATE tests.
Diffstat (limited to 'libavcodec/vp9.c')
0 files changed, 0 insertions, 0 deletions