• Mans Rullgard's avatar
    avconv: use lrint() for rounding double timestamps · 4f150068
    Mans Rullgard authored
    Converting the double to float for lrintf() loses precision when
    the value is not exactly representable as a single-precision float.
    Apart from being inaccurate, this causes discrepancies in some
    configurations due to differences in rounding.
    
    Note that the changed timestamp in the vc1-ism test is a bogus,
    made-up value.
    Signed-off-by: 's avatarMans Rullgard <mans@mansr.com>
    4f150068
Name
Last commit
Last update
..
fate Loading commit data...
ref Loading commit data...
Makefile Loading commit data...
audiogen.c Loading commit data...
base64.c Loading commit data...
codec-regression.sh Loading commit data...
fate-run.sh Loading commit data...
fate.sh Loading commit data...
lavf-regression.sh Loading commit data...
lavfi-regression.sh Loading commit data...
lena.pnm Loading commit data...
md5.sh Loading commit data...
regression-funcs.sh Loading commit data...
rotozoom.c Loading commit data...
tiny_psnr.c Loading commit data...
utils.c Loading commit data...
videogen.c Loading commit data...