Only allocate transcode resample buffer once, but make it large