aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/codec.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2023-05-28 16:22:58 +0200
committerAnton Khirnov <anton@khirnov.net>2023-06-05 16:15:04 +0200
commitccf219e361957eef8fab45ce8b02cdf4d42e5e28 (patch)
tree046bc81e14869a524392bc7eecca2702b857e082 /libavcodec/codec.h
parentc7a05ac117bc4152b27aa6127d67cb5bc0f09271 (diff)
downloadffmpeg-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/codec.h')
0 files changed, 0 insertions, 0 deletions