Revert #5044 and set ctx->avc.avcDecodeResult = 1