[FFmpeg-devel] [PATCH] avfilter/vf_fps: fix rounding error accumulation

Nicolas George george at nsup.org
Sun Jan 26 09:48:02 CET 2014


Le sextidi 6 pluviôse, an CCXXII, Michael Niedermayer a écrit :
> Fixes Ticket3329
> 
> Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> ---
>  libavfilter/vf_fps.c |   13 +++++--------
>  1 file changed, 5 insertions(+), 8 deletions(-)

If I read it correctly, it does the same thing as my version when the first
timestamp is 0, and makes a slightly different rounding decision otherwise.
I have no opinion about what version is more "correct".

It looks ok anyway.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140126/705d224c/attachment.asc>


More information about the ffmpeg-devel mailing list