On 01/08/2016 02:24 PM, Michael Niedermayer wrote: > applied > > simplified a bit > > thanks > I missed the fact that sc->format is available to the function. I'll make another patch that removes the redundant stuff that I added. Mats