[FFmpeg-devel] [PATCH] avformat/mpsubdec: Remove floating point usage

Michael Niedermayer michael at niedermayer.cc
Thu Aug 29 16:15:27 EEST 2019


On Tue, Jul 30, 2019 at 08:18:47PM +0200, Michael Niedermayer wrote:
> This makes the code bitexact between platforms.
> Intermediate timestamps between frames are preserved.
> The timebase is simplified.
> Rounding differs from doubles in cases where timestamps/durations
> are "funny"
> 
> Suggested-by: jb
> Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> ---
>  libavformat/mpsubdec.c          | 84 ++++++++++++++++++++++++++-------
>  tests/ref/fate/sub-mpsub-frames |  4 +-
>  2 files changed, 69 insertions(+), 19 deletions(-)

will apply

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The smallest minority on earth is the individual. Those who deny 
individual rights cannot claim to be defenders of minorities. - Ayn Rand
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190829/f9a0dedf/attachment.sig>


More information about the ffmpeg-devel mailing list