On 12/10/16 14:35, Michael Niedermayer wrote: > why dont you use av_reduce() directly ? Because I didn't know it existed. That would indeed be better (it appears to be doing the same thing with continued fraction). The sentiment behind a suggested patch is equivalent. - Mark