Use av_compare_ts from libavutil instead of the locale compare_ts, the