qdm2: decode directly to the user-provided AVFrame