• 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
avconv.c 182 KB