shorten: decode directly to the user-provided AVFrame